]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
`media-breakpoint-only` now passes `$breakpoints` int `breakpoint-max`. Fixes #35084.
authorRichard Giraud <richard@rgent.ca>
Thu, 30 Sep 2021 17:18:52 +0000 (11:18 -0600)
committerMark Otto <otto@github.com>
Thu, 24 Feb 2022 21:18:16 +0000 (13:18 -0800)
scss/mixins/_breakpoints.scss

index cdc8034eb357a5057a3842961264422b40b2546d..9df3dc428391e0005565e87d817ab00708dfedf0 100644 (file)
 @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) {