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
@RobinMalfait
I've found why max-* fails.
overrides default only cause the missing key fails, like missing 'sm' only make 'max-sm' fails
it is by extending with raw, make all the max-* fails
Hey! This one is by design. Essentially, we can't handle automatic sorting and cannot handle inversion (to create the max variants) of the media query under these circumstances.
See #9558 (comment) for a list of restrictions on when and how the min/max variants work.
@thecrypticace I strongly believe that this kind of info should be described in the official documentation better. I just spent a few hours just to reach your comment. I also asked a bunch of people who actively using Tailwind and no one knew about these restrictions. That means it's not well-known by the common users. Can this #9558 (comment) comment be added as a link to Targeting a breakpoint range section in the documentation? I can open a PR if that makes sense
@RobinMalfait
I've found why max-* fails.
overrides default only cause the missing key fails, like missing
'sm'
only make'max-sm'
failsit is by extending with
raw
, make all the max-* failsOriginally posted by @yunuli in #11685 (reply in thread)
The text was updated successfully, but these errors were encountered: