From 8c77dd8bb8e0ae23ad6e94a2a35487429eeee473 Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Fri, 19 Jan 2024 13:21:22 +0100 Subject: [PATCH] Switch: Add line height (#80879) --- packages/grafana-ui/src/components/Switch/Switch.tsx | 1 + 1 file changed, 1 insertion(+) 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,