-
Notifications
You must be signed in to change notification settings - Fork 84
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
Allow custom breakpoints #2439
Comments
This is the most voted request on Nolt, I think we should implement it. |
@cristian-ungureanu media queries don't support custom properties. This is a thing that I wasn't aware of when I posted this. A workaround would be to rewrite the CSS on the user's website each time these change, but I doubt it's worth the hassle. |
Starting from this article I got to this plugin. @abaicus maybe you can have a look over this, maybe we could use it. 🤔 |
PostCSS is a dev tool that runs during the build phase and transforms CSS using JS. The Here is a CodePen 🔗 that showcases what happens when custom media queries get passed through PostCSS and the |
In this case, from what I’ve seen in tickets across time, the main thing that people want is to control the header ( especially the menu/menu icon ) on tablets, or on larger phones. Right now, on tablet you get the header you set up for mobile (the menu icon), even though there should be space to have the full menu. |
Description:
Allow the user to set custom responsive breakpoints. This can be achieved easily right now using CSS variables.
Alternatives:
Don't allow custom breakpoints definition.
The text was updated successfully, but these errors were encountered: