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

This commit is contained in:
Torkel Ödegaard 2020-03-27 12:38:28 +01:00 committed by GitHub
parent 660a453f74
commit 7e094ac559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

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

View File

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