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

[feat]: Switch to gap-XX instead of space-y-XX #6121

Open
2 tasks done
moshest opened this issue Dec 18, 2024 · 0 comments
Open
2 tasks done

[feat]: Switch to gap-XX instead of space-y-XX #6121

moshest opened this issue Dec 18, 2024 · 0 comments

Comments

@moshest
Copy link

moshest commented Dec 18, 2024

Feature description

Tailwind gap-XX is the proper way to space elements within flex or grid elements.

We should refactor the codebase and switch every space-x-XXX or space-y-XXX to gap-XXX when appropriate.

Affected component/components

No response

Additional Context

The downside of using space-y-XX is that it's hard for the user to override if changed needed for a single child.

It will require the !important flag to override the complex styling applied to the children by the space-y utils.

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant