mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-21 13:24:08 +03:00
media-breakpoint-only now passes $breakpoints int breakpoint-max. Fixes #35084.
This commit is contained in:
committed by
Mark Otto
parent
f1a89bf0d5
commit
3aaaa01ffa
@@ -109,7 +109,7 @@
|
||||
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
||||
$min: breakpoint-min($name, $breakpoints);
|
||||
$next: breakpoint-next($name, $breakpoints);
|
||||
$max: breakpoint-max($next);
|
||||
$max: breakpoint-max($next, $breakpoints);
|
||||
|
||||
@if $min != null and $max != null {
|
||||
@media (min-width: $min) and (max-width: $max) {
|
||||
|
||||
Reference in New Issue
Block a user