Closed
Description
What version of Tailwind CSS are you using?
@tailwindcss/postcss@4.0.0-beta.2
tailwindcss@4.0.0-beta.2
What build tool (or framework if it abstracts the build tool) are you using?
https://tailwindcss.com/docs/v4-beta#installing-with-post-css
What version of Node.js are you using?
v22.11.0
What browser are you using?
Brave
What operating system are you using?
Windows
Reproduction URL
https://play.tailwindcss.com/0gur4OiFqm
Describe your issue
Using space-x-* or space-y-* on a list of elements adds a margin after the second to last element even when the last element is hidden.
Metadata
Metadata
Assignees
Labels
No labels