Skip to content

Commit a43dc88

Browse files
committed
Move from max-width to width for containers, plus a max-width 100%
- Fixes issues between float and flex grid systems where container wouldn't fill the available width in Chrome & FF (but would in Safari) - Fixes #20681 - Fixes #17621 (basically same issue as above issue)
1 parent f49a7a2 commit a43dc88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scss/mixins/_grid.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {
1818
@each $breakpoint, $container-max-width in $max-widths {
1919
@include media-breakpoint-up($breakpoint, $breakpoints) {
20-
max-width: $container-max-width;
20+
width: $container-max-width;
21+
max-width: 100%;
2122
}
2223
}
2324
}

0 commit comments

Comments
 (0)