Skip to content

FluentSwitch ::slotted() Css selector doesn't work unless !important is applied #2032

Answered by vnbaaij
Mike-E-angelo asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Mike-E-angelo
Comment options

Answer selected by Mike-E-angelo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants