-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[v4] space-y-*
works differently with mb-*
on a child
#15699
Comments
space-y-*
no longer works with mb-*
on a childspace-y-*
works differently with mb-*
on a child
Slightly related comment (#15390 (comment)):
Thus, the wrapping in I expect the maintainers tolerated this breaking change between major versions but I would not expect the behavior to change again with the v4 major version now that it is stable. |
Good find! That explains what's happening. Since there's already awareness of this, I guess the issue can be closed. |
JFYI there is a similar thing when using |
Under v3, I used to set for example
space-y-4
as a base rule, and then-mb-1
on some child to slightly diverge from that. Under v4.0.0, it now seems to completely override the former.Please see https://play.tailwindcss.com/RQmoDTdQga where there's a clear difference between the result of v3.4.15 and v4.0.0-beta.9 – I am not under the impression that it is at all browser dependent.
The (older) insiders build, f875ab9, still produced the same result as v3. Is this fairly recent change a bug or new expected behaviour? It would make sense not to support this sort of interplay, so it might rather be a matter of documentation.
Is it safe to change
-mb-1
intomb-3
here, or should I expect that to break again in the future?The text was updated successfully, but these errors were encountered: