mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
RadioButtonGroup: Fixed vertical centering (#23138)
This commit is contained in:
parent
7e2fedb0cc
commit
e19493ae24
@ -69,11 +69,10 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme, size: RadioButt
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
font-size: ${fontSize};
|
||||
min-height: ${fontSize};
|
||||
height: ${height};
|
||||
line-height: ${height};
|
||||
color: ${textColor};
|
||||
padding: calc((${height} - ${fontSize}) / 2) ${horizontalPadding} calc((${height} - ${fontSize}) / 2)
|
||||
${horizontalPadding};
|
||||
line-height: 1;
|
||||
padding: 0 ${horizontalPadding};
|
||||
margin-left: -1px;
|
||||
border-radius: ${theme.border.radius.sm};
|
||||
border: ${border};
|
||||
|
Loading…
Reference in New Issue
Block a user