FluentSwitch
::slotted()
Css selector doesn't work unless !important
is applied
#2032
-
I am attempting to use the I found the selector: But only when I add Is this a setting somewhere? Or a bug? I wanted to verify before opening another issue. For reference I "fixed" this by encountering this blog: EDIT: I should also mention that So it is unclear to me how this is not being applied and what is overriding it. If it was overridden it seems like this rule would be crossed out altogether, but it is not. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If I look at the default example at https://www.fluentui-blazor.net/Switch, it looks like the styling is being applied to the 'new feature' switch. I'm not at a pc for a couple of days so can't look further into it. Can you compare your code with the example? |
Beta Was this translation helpful? Give feedback.
If I look at the default example at https://www.fluentui-blazor.net/Switch, it looks like the styling is being applied to the 'new feature' switch. I'm not at a pc for a couple of days so can't look further into it. Can you compare your code with the example?
Oh, BTW the 'constructed' reference as to where the css is defined, indicated that it comes from the web component script. If it is indeed a bug, we might need to open an issue in that repo.