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:
parent
f1a89bf0d5
commit
3aaaa01ffa
@ -109,7 +109,7 @@
|
|||||||
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
||||||
$min: breakpoint-min($name, $breakpoints);
|
$min: breakpoint-min($name, $breakpoints);
|
||||||
$next: breakpoint-next($name, $breakpoints);
|
$next: breakpoint-next($name, $breakpoints);
|
||||||
$max: breakpoint-max($next);
|
$max: breakpoint-max($next, $breakpoints);
|
||||||
|
|
||||||
@if $min != null and $max != null {
|
@if $min != null and $max != null {
|
||||||
@media (min-width: $min) and (max-width: $max) {
|
@media (min-width: $min) and (max-width: $max) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user