We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Remix adds their own "critical css". Vite does the same. Almost. This is to avoid FOUC: remix-run/remix#8070 (reply in thread)
One solution to this problem could be to use "opinionated layers" in dev mode for Remix (and potentially Vite).
The relevant function that figures out specificity, that could be incorrect, if the same CSS block is added twice:
navita/packages/engine/src/helpers/getPropertyPriority.ts
Line 203 in 81f962c
Note: The root cause is that the same CSS block is added twice.
The text was updated successfully, but these errors were encountered:
The CSS specificity is correct. There was however another bug due to how Remix inlines criticalCss. But a fix for that is on the way.
Sorry, something went wrong.
No branches or pull requests
Remix adds their own "critical css". Vite does the same. Almost. This is to avoid FOUC:
remix-run/remix#8070 (reply in thread)
One solution to this problem could be to use "opinionated layers" in dev mode for Remix (and potentially Vite).
The relevant function that figures out specificity, that could be incorrect, if the same CSS block is added twice:
navita/packages/engine/src/helpers/getPropertyPriority.ts
Line 203 in 81f962c
Note: The root cause is that the same CSS block is added twice.
The text was updated successfully, but these errors were encountered: