diff --git a/packages/grafana-ui/src/components/Forms/Checkbox.tsx b/packages/grafana-ui/src/components/Forms/Checkbox.tsx index 92d42833428..ea704c4bced 100644 --- a/packages/grafana-ui/src/components/Forms/Checkbox.tsx +++ b/packages/grafana-ui/src/components/Forms/Checkbox.tsx @@ -25,6 +25,7 @@ export const getCheckboxStyles = stylesFactory((theme: GrafanaTheme) => { description: cx( labelStyles.description, css` + line-height: ${theme.typography.lineHeight.sm}; padding-left: ${theme.spacing.formSpacingBase}px; ` ), @@ -117,12 +118,7 @@ export const Checkbox = React.forwardRef( /> {label && {label}} - {description && ( - <> -
- {description} - - )} + {description && {description}} ); }