Skip to content

Commit

Permalink
fix: move clearfix to allow overwriting styles foundation#15516
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpsl committed Feb 12, 2025
1 parent 337be7a commit 1bedfa4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scss/components/_button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ $buttongroup-radius-on-each: true !default;
$child-selector: $buttongroup-child-selector,
$spacing: $buttongroup-spacing
) {
@include clearfix;
margin-bottom: $buttongroup-margin;

@if $global-flexbox {
Expand All @@ -50,8 +51,6 @@ $buttongroup-radius-on-each: true !default;
font-size: 0;
}

@include clearfix;

#{$child-selector} {
margin: 0;
margin-#{$global-right}: $spacing;
Expand Down

0 comments on commit 1bedfa4

Please sign in to comment.