Skip to content

Commit

Permalink
Remove unneeded flexbug workaround (#40876)
Browse files Browse the repository at this point in the history
This was only needed for Internet Explorer. Removing it saves a couple of bytes. :-)

REF: https://github.com/philipwalton/flexbugs#flexbug-4
  • Loading branch information
coliff authored Oct 2, 2024
1 parent 9270d1c commit 8885dc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@
// The child selector allows nested `.card` within `.card-group`
// to display properly.
> .card {
// Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
flex: 1 0 0%;
flex: 1 0 0;
margin-bottom: 0;

+ .card {
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
@include media-breakpoint-up($breakpoint, $breakpoints) {
// Provide basic `.col-{bp}` classes for equal-width flexbox columns
.col#{$infix} {
flex: 1 0 0%; // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
flex: 1 0 0;
}

.row-cols#{$infix}-auto > * {
Expand Down

0 comments on commit 8885dc2

Please sign in to comment.