-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
:global applied to multiple selectors should be an error #5907
Comments
Honestly I'm thinking that |
It would be nice in the aspect of reducing redundant code, however keeping true to the native css way it would probably be best to not introduce some custom logic. But with that said, if |
In 3.38.3, this is now a compiler error. |
I'm facing an issue while trying to integrate daisyUI in my Svelte application: saadeghi/daisyui#252 (comment) I think it is related to this issue. Can anyone help me understand what the problem is and what possible fixes are? Is it a problem on Svelte's end or on daisyUI's? |
Describe the bug
Prefixing a css global to give it scope only scopes the first selector.
To Reproduce
https://svelte.dev/repl/aaed36026d014e34b45aedef9630b55f?version=3.31.2
Expected behavior
Current behaviour
Information about your Svelte project:
Latest svelte repl.
Severity
Not severe.
The text was updated successfully, but these errors were encountered: