Buttons: Fixed vertical centering, now pixel perfect (#23140)

pull/23155/head
Torkel Ödegaard 5 years ago committed by GitHub
parent 660a453f74
commit 7e094ac559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/grafana-ui/src/components/Button/Button.tsx
  2. 1
      packages/grafana-ui/src/components/Select/_Select.scss

@ -94,6 +94,7 @@ export const getButtonStyles = stylesFactory(({ theme, size, variant }: StylePro
font-size: ${fontSize}; font-size: ${fontSize};
padding: ${padding}; padding: ${padding};
height: ${height}; height: ${height};
line-height: ${height};
vertical-align: middle; vertical-align: middle;
cursor: pointer; cursor: pointer;
border: 1px solid ${borderColor}; border: 1px solid ${borderColor};

@ -219,4 +219,5 @@ $select-input-bg-disabled: $input-bg-disabled;
.select-button { .select-button {
display: flex; display: flex;
align-items: center;
} }

Loading…
Cancel
Save