diff --git a/packages/grafana-ui/src/components/Switch/Switch.tsx b/packages/grafana-ui/src/components/Switch/Switch.tsx index 2379cb82ab6..589e548a254 100644 --- a/packages/grafana-ui/src/components/Switch/Switch.tsx +++ b/packages/grafana-ui/src/components/Switch/Switch.tsx @@ -150,6 +150,7 @@ const getSwitchStyles = stylesFactory((theme: GrafanaTheme2, transparent?: boole cursor: pointer; padding-right: ${theme.spacing(1)}; color: ${theme.colors.text.secondary}; + white-space: nowrap; `, inlineLabelEnabled: css` color: ${theme.colors.text.primary};