-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CSS isolation] attributes do not apply to components generated in code #342
Comments
Yes, that's how CSS isolation works in Blazor by default: it only applies to the elements directly inside the component, and not the ones in a nested component. To apply to all nested elements, you need to use the "deep" pseudo-element. So instead of this: .some-element-inside-edit-form {
color: red;
} you can do: ::deep .some-element-inside-edit-form {
color: red;
} |
But I use Bolero components in a different way. |
So it was a root level component |
xperiandri
changed the title
CSS isolation attributes do not apply to components generated in code
[CSS isolation] attributes do not apply to components generated in code
Dec 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I do
and
then CSS isolation attributes are not applied to the form
The text was updated successfully, but these errors were encountered: