Switch: prevent wrapping for InlineSwitch (#34077)

This commit is contained in:
Giordano Ricci 2021-05-14 09:26:00 +01:00 committed by GitHub
parent df4da77e4e
commit 062e1d5ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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};