The space-x-4 class doesn't working correctly with the flex-wrap class #1735
-
I want to try out the new Sadly the result is not as I expected. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 6 replies
-
Solved this problem by myself using: |
Beta Was this translation helpful? Give feedback.
-
@buismaarten same problem here. Is there a way to fix it without css-grid? Using flexbox? |
Beta Was this translation helpful? Give feedback.
-
Can you please remove the picked answer from this? Is not a proper "solution" to the problem. |
Beta Was this translation helpful? Give feedback.
-
No answer yet. This is a problem. I'll open an issue. |
Beta Was this translation helpful? Give feedback.
-
Just use Ben's plugin or use paddings with negative margins: https://github.com/benface/tailwindcss-gap |
Beta Was this translation helpful? Give feedback.
-
I ran into the same problem. I was thinking about writing a plugin that adds classes like:
|
Beta Was this translation helpful? Give feedback.
-
What I do most times, is to use padding for the direct child div of the flexed(wrapped) parent, then have an inner div handle the content of each col.
For the col-* here's the plugin I use: |
Beta Was this translation helpful? Give feedback.
Just use Ben's plugin or use paddings with negative margins: https://github.com/benface/tailwindcss-gap