mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
RadioButton: Fixed line-height
This commit is contained in:
parent
733bb45172
commit
5d1ec39224
@ -93,7 +93,7 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme, size: RadioButt
|
|||||||
font-size: ${fontSize};
|
font-size: ${fontSize};
|
||||||
height: ${theme.v2.spacing(height)};
|
height: ${theme.v2.spacing(height)};
|
||||||
// Deduct border from line-height for perfect vertical centering on windows and linux
|
// Deduct border from line-height for perfect vertical centering on windows and linux
|
||||||
line-height: ${theme.v2.spacing.gridSize * height - 2}px;
|
line-height: ${theme.v2.spacing(height)};
|
||||||
color: ${textColor};
|
color: ${textColor};
|
||||||
padding: ${theme.v2.spacing(0, padding)};
|
padding: ${theme.v2.spacing(0, padding)};
|
||||||
border-radius: ${theme.v2.shape.borderRadius()};
|
border-radius: ${theme.v2.shape.borderRadius()};
|
||||||
|
Loading…
Reference in New Issue
Block a user