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 Proposal] Utility to set border-spacing: 0 #1299

Closed
brandonpittman opened this issue Jan 8, 2020 · 0 comments
Closed

[Feature Proposal] Utility to set border-spacing: 0 #1299

brandonpittman opened this issue Jan 8, 2020 · 0 comments

Comments

@brandonpittman
Copy link

Been doing some table styling and I realized that border-radius will only work if you separate borders on tables. Unfortunately, in order to make all the other borders go flush against each other, you then need to set border-spacing: 0; to get rid of the gap. I'd like to propose one of the following:

  1. border-compact or border-spacing-none class that just sets border-spacing: 0
  2. Go full on nuts and incorporate the theme's spacing key to create a full suite of border-spacing utilities

#2 is probably overkill. I can imagine someone else has had an issue like this with tables. I wonder if anyone ever actually wants the separated look on a table anyway. Maybe it's worth setting border-spacing: 0 as a base style in the base.css file.

Thoughts?

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

1 participant