You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding smaller breakpoints
If you want to add an additional small breakpoint, you can’t use extend because the small breakpoint would be added to the end of the breakpoint list, and breakpoints need to be sorted from smallest to largest in order to work as expected with a min-width breakpoint system.
As of the xs beeing inside the extend object, moving it outside didn't change anything for me. I have added a new issue to our project list to check this more in detail.
As of the xs beeing inside the extend object, moving it outside didn't change anything for me.
By redefining the breakpoints, including the new one (xs) and all the other breakpoints already defined, we retain the order: xs > sm > md > lg > xl > 2xl
By using extend, you lose mobile first order, the new breakpoint is added after default ones: sm > md > lg > xl > 2xl > xs.
Meanwhile, thank you for your time and your answer.
Is there a way to completely remove the extra screen definition added for XS ?
This breakpoints break default Tailwind CSS container fluid width.
An example for screen width of 432px :
The only way I have found so far is to use :
Tailwind Elements config
The Tailwind docs said :
This is not the case in Tailwind Elements.
It would be better for Tailwind Elements to respect this rule to avoid side effects.
The text was updated successfully, but these errors were encountered: