-
Notifications
You must be signed in to change notification settings - Fork 1
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
button-group rely on whitespace for inbetween spacing #359
Comments
So intended behavior should be no white-space and fix "air" between the buttons with margin? |
Yes, the buttons should have the same spacing inbetween regardless of white-spaces. Something like this perhaps:
|
We see the need to support compiled templates, and like your solution. But need to add flex-wrap:wrap and consider if we are going to solve this issue for buttons not wrapped in a .button-group. |
Buttons in button-group (or just two sibling buttons really) are rendered with spacing inbetween because there is a white-space character there. (In code that white-space is actually a line-break and maybe a couple of tabs.)
Minifiers remove these white-spaces and the buttons are rendered like:
Some potential solutions:
https://css-tricks.com/fighting-the-space-between-inline-block-elements/
The text was updated successfully, but these errors were encountered: