]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove unneeded flexbug workaround (#40876)
authorChristian Oliff <christianoliff@pm.me>
Wed, 2 Oct 2024 05:19:55 +0000 (14:19 +0900)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2024 05:19:55 +0000 (08:19 +0300)
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
scss/mixins/_grid.scss

index d3535a98b76f465b95652188e43d442fa3338e8e..a5c122925ac3f553bb95a262fc1421641c0681cd 100644 (file)
     // 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 {
index ea30739943c78d2841109e84af1cd38a78e31fa1..db77e07f89364f2e4e94485f28ce60596fa6349c 100644 (file)
@@ -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 > * {