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
In example above class max-lg:hidden is not working, but of course none of max:breakpoint classes works when I have custom media-query with raw setup in tailwind config.
If you'll remove this line (in tailwind play/config): 'shortdesktop': { 'raw': '(max-height: 950px) and (min-width: 768px)' },
it works again
The text was updated successfully, but these errors were encountered:
Hey! This is by design at the moment — it's critical that all breakpoint variants are sorted in a particular order and when you introduce complex custom breakpoints that becomes sort of impossible for us to do intelligently, so we don't support the max-* or min-* variants when you've customized your config in that way:
What version of Tailwind CSS are you using?
v3.4.10
Reproduction URL
https://play.tailwindcss.com/rHaI81WQuv
Describe your issue
In example above class
max-lg:hidden
is not working, but of course none of max:breakpoint classes works when I have custom media-query withraw
setup in tailwind config.If you'll remove this line (in tailwind play/config):
'shortdesktop': { 'raw': '(max-height: 950px) and (min-width: 768px)' },
it works again
The text was updated successfully, but these errors were encountered: