Skip to content

Commit 8885dc2

Browse files
authored
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
1 parent 9270d1c commit 8885dc2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scss/_card.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@
193193
// The child selector allows nested `.card` within `.card-group`
194194
// to display properly.
195195
> .card {
196-
// Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
197-
flex: 1 0 0%;
196+
flex: 1 0 0;
198197
margin-bottom: 0;
199198

200199
+ .card {

scss/mixins/_grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
@include media-breakpoint-up($breakpoint, $breakpoints) {
7373
// Provide basic `.col-{bp}` classes for equal-width flexbox columns
7474
.col#{$infix} {
75-
flex: 1 0 0%; // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
75+
flex: 1 0 0;
7676
}
7777

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

0 commit comments

Comments
 (0)