Skip to content
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

[Feature request]: enforce gap instead of space utilities on flex box layout #292

Open
nandi95 opened this issue Nov 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nandi95
Copy link

nandi95 commented Nov 24, 2023

Is your feature request related to a problem? Please describe.
Some people may use space-x-2 on their flex boxes. When this flexbox wraps, the item on the next line will have an indentation due to the margin on its left.

Describe the solution you'd like
A rule that enforces (better yet auto fixes) that gap-x-2 should be used

Describe alternatives you've considered
No alternatives.

Additional context
Consideration: The display may change depending on screen sizes. Meaning a div may be a flex on sm but block on lg and on lg the space utility should left alone.

@nandi95 nandi95 added the enhancement New feature or request label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant