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
This is unfortunate. Ruby on Rails's form helpers automatically add a <input type="hidden"> CSRF token as the very first sub-element of every generated <form>, so this behavior is occurring on every form that uses these space classes.
Describe the problem:
When I use
space-x-<nr>
on an element, I'd expect that whitespace to only occur in between child elements. And generally, it does.However, when a
hidden
element is present before the first element, that causes whitespace to also be added before the first element.Link to a minimal reproduction:
https://play.tailwindcss.com/MmyASfKJ25
The text was updated successfully, but these errors were encountered: