0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

media-breakpoint-only now passes $breakpoints int breakpoint-max. Fixes #35084.

This commit is contained in:
Richard Giraud 2021-09-30 11:18:52 -06:00 committed by Mark Otto
parent f1a89bf0d5
commit 3aaaa01ffa

View File

@ -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) {