Skip to content
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

@media (width >= 500px) stripped #69

Closed
bennypowers opened this issue May 16, 2023 · 1 comment
Closed

@media (width >= 500px) stripped #69

bennypowers opened this issue May 16, 2023 · 1 comment

Comments

@bennypowers
Copy link

bennypowers commented May 16, 2023

media queries using range context syntax are getting stripped

in (index.css)

@media (width >= 500px) {
  h1 { font-size: 2em; }
}
bennypowers.dev on  decks/brno/content [$!?] via  v18.16.0 
❯ cat _site/index.css | grep media                                                                                                                                (base) 
@georges-gomes
Copy link
Member

Thanks for reporting this.

It seems that csso are not liking these rules and it delete them.
So I removed csso and only use lightningcss now which seems to work properly.

Version 0.11.4 released

Thanks!

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

No branches or pull requests

2 participants