Skip to content

Commit

Permalink
media-breakpoint-only now passes $breakpoints int breakpoint-max.
Browse files Browse the repository at this point in the history
Fixes #35084.
  • Loading branch information
richard-giraud authored and mdo committed Feb 24, 2022
1 parent f1a89bf commit 3aaaa01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/mixins/_breakpoints.scss
Expand Up @@ -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) {
Expand Down

0 comments on commit 3aaaa01

Please sign in to comment.