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
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};