2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Allow custom breakpoint config to be passed on by mixins which nest media query mixins.

This commit is contained in:
Chris Purssell
2016-01-14 16:33:04 +10:00
parent 6ff249791e
commit 0762a1978c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -14,9 +14,9 @@
// For each breakpoint, define the maximum width of the container in a media query
@mixin make-container-max-widths($max-widths: $container-max-widths) {
@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {
@each $breakpoint, $container-max-width in $max-widths {
@include media-breakpoint-up($breakpoint) {
@include media-breakpoint-up($breakpoint, $breakpoints) {
max-width: $container-max-width;
}
}