Skip to content
Snippets Groups Projects
Unverified Commit e86ef791 authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

Fix Transparent disabled state on mantine switch label (#47677)

* make custom disabled state more specific than transparent style

* make it less nesty
parent 45ed2c6f
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ export const getSwitchOverrides = (): MantineThemeOverride["components"] => ({
lineHeight: getSize({ size, sizes: LABEL_LINE_HEIGHT }),
color: theme.fn.themeColor("text-dark"),
cursor: "pointer",
"&[data-disabled]": {
"&[data-disabled]:not([data-css-specificity-hack='😢'])": {
color: theme.fn.themeColor("text-light"),
cursor: "default",
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment