You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using flex classes like .align-justify on a .button-group the buttons should spread evenly within its containers width.
What happens instead?
The clearfix in :before/:after takes space and the buttons are not aligned properly.
See error in the documentation example: Flex Button Group
Possible Solution
The issue is probably a result of moving the clearfix to after the @if that disables the clearfix. Solution would be to add !important to scss/components/_button-group.scss:46 or strengthen the selector in some way.
What should happen?
If using flex classes like
.align-justify
on a.button-group
the buttons should spread evenly within its containers width.What happens instead?
The clearfix in
:before
/:after
takes space and the buttons are not aligned properly.See error in the documentation example: Flex Button Group
Possible Solution
The issue is probably a result of moving the clearfix to after the
@if
that disables the clearfix. Solution would be to add!important
to scss/components/_button-group.scss:46 or strengthen the selector in some way.Test Case and/or Steps to Reproduce (for bugs)
Test Case: https://get.foundation/sites/docs/button-group.html#flexbox-button-group (spaced and justify)
Your Environment
Checklist
The text was updated successfully, but these errors were encountered: