diff --git a/packages/grafana-ui/src/components/Switch/Switch.tsx b/packages/grafana-ui/src/components/Switch/Switch.tsx index 70e5167e63c..b7b0d0238e8 100644 --- a/packages/grafana-ui/src/components/Switch/Switch.tsx +++ b/packages/grafana-ui/src/components/Switch/Switch.tsx @@ -78,6 +78,7 @@ const getSwitchStyles = (theme: GrafanaTheme2, transparent?: boolean) => ({ width: '32px', height: '16px', position: 'relative', + lineHeight: 1, input: { opacity: 0,