diff --git a/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx b/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx index 692726386c3..7172967f230 100644 --- a/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx +++ b/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx @@ -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};