From 8885dc2a77fbc61acdb315320b18ba048c498502 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Wed, 2 Oct 2024 14:19:55 +0900 Subject: [PATCH] Remove unneeded flexbug workaround (#40876) This was only needed for Internet Explorer. Removing it saves a couple of bytes. :-) REF: https://github.com/philipwalton/flexbugs#flexbug-4 --- scss/_card.scss | 3 +-- scss/mixins/_grid.scss | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scss/_card.scss b/scss/_card.scss index d3535a98b7..a5c122925a 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -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 { diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index ea30739943..db77e07f89 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -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 > * {