Commit e19493ae by Torkel Ödegaard Committed by GitHub

RadioButtonGroup: Fixed vertical centering (#23138)

parent 7e2fedb0
......@@ -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};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment