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

Responsive gutters #37

Open
norbert-tasi opened this issue Oct 15, 2022 · 1 comment
Open

Responsive gutters #37

norbert-tasi opened this issue Oct 15, 2022 · 1 comment

Comments

@norbert-tasi
Copy link

Describe the bug
I have a set of classes: flex flex-col sm:flex-row sm:gutter-x-16 gutter-y-8 sm:gutter-y-0

But the margin-reset in the gutter-y-0 stops gutter-x-16, so there is no space between elements above sm. It works if only margin-bottom and margin-top are reseted.

Thank you for this library, it is awesome!

Norbert

@jinsupark
Copy link
Member

Thanks!

How if you are achieving the row direction via flex-col and flex-row, it might be simpler to achieve the gutter effect via gap instead!

so gap-8 sm:gap-16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants