-
-
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
CSS Selectors with direction rtl falsely marked as unused #2950
Comments
Hi, <h1 dir="rtl">Hello {name}!</h1> To obtain this: body{direction:rtl}
h1.svelte-r7z1mq{color:blue}
h1[dir="rtl"].svelte-r7z1mq{color:red} |
Is Or, if the |
You were right, sorry for not seeing this. When I add The following selector solved my problems:
|
https://svelte.dev/repl/7c9308930e8e4a3c817a1ba232acae31?version=3.4.4
I want to make my app right-to-left compatible. For this reason I need to add rtl-specific styling, but svelte marks my selectors as unused and removes them:
becomes:
h1.svelte-r7z1mq{color:blue}
The text was updated successfully, but these errors were encountered: