Created
January 11, 2017 21:02
-
-
Save octoxan/080dcff2f806b1ee54dc8349d8dd2ec7 to your computer and use it in GitHub Desktop.
Fix for Bootstrap 4's grid system not having actual large screen size breakpoints
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add two new breakpoints because Bootstrap is stupid by default | |
$grid-breakpoints: ( | |
xs : 0, | |
sm : 576px, | |
md : 768px, | |
lg : 992px, | |
xl : 1200px, | |
xxl : 1400px, | |
xxxl: 1800px | |
) !default; | |
$container-max-widths: ( | |
sm : 540px, | |
md : 720px, | |
lg : 960px, | |
xl : 1140px, | |
xxl : 1340px, | |
xxxl: 1740px | |
) !default; | |
$grid-gutter-width-base: 30px !default; | |
$grid-gutter-widths: ( | |
xs : $grid-gutter-width-base, | |
sm : $grid-gutter-width-base, | |
md : $grid-gutter-width-base, | |
lg : $grid-gutter-width-base, | |
xl : $grid-gutter-width-base, | |
xxl : $grid-gutter-width-base * 2, | |
xxxl: $grid-gutter-width-base * 2 | |
) !default; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello,
added this to custom.scss, but the grid had no change...the container width is equal.
Do I need to do more stuff besides that?
thanks