Switch: prevent wrapping for InlineSwitch (#34077)

pull/34110/head
Giordano Ricci 4 years ago committed by GitHub
parent df4da77e4e
commit 062e1d5ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/grafana-ui/src/components/Switch/Switch.tsx

@ -150,6 +150,7 @@ const getSwitchStyles = stylesFactory((theme: GrafanaTheme2, transparent?: boole
cursor: pointer; cursor: pointer;
padding-right: ${theme.spacing(1)}; padding-right: ${theme.spacing(1)};
color: ${theme.colors.text.secondary}; color: ${theme.colors.text.secondary};
white-space: nowrap;
`, `,
inlineLabelEnabled: css` inlineLabelEnabled: css`
color: ${theme.colors.text.primary}; color: ${theme.colors.text.primary};

Loading…
Cancel
Save