Skip to content

2.11.2 breaks css in my build (again) #15212

Answered by ssuess
ssuess asked this question in CLI - PWA mode
Discussion options

You must be logged in to vote

Don't know why this works, but I have a solution: I have a :root {...} declaration that was at the top of my app.css file. Moving it to the bottom seem to have fixed this. WTF.

UPDATE: more specifically, it seems that css env() rules (such as --sat: env(safe-area-inset-top, 20px);) were the culprit. Moving these to the bottom or removing them from the :root declaration fixes the problem.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ssuess
Comment options

You must be logged in to vote
1 reply
@ssuess
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants