Created by: CrispyBacon12
Hello
In cases where a mixin internally uses one of the new media query mixins, the outer mixin should pass the local $breakpoints variable onwards to the nested mixin, otherwise it's defaulting back to the global $grid-breakpoints.
@mixin make-grid-columns
optionally accepts a $breakpoints argument already, but attempting to use this doesn't result in anything sensible. Internally it defers to media-breakpoint-up, relying on the default $grid-breakpoints and ignoring what you've passed in.
This is inconsistent with how @mixin media-breakpoint-only
and @mixin media-breakpoint-between
behave, where the optional $breakpoints argument is passed on internally.
The change to @mixin make-container-max-widths
is also included, so that all cases where the media query mixins are nested are consistent.
Doesn't change how anything compiles by default, just gives the option consistently for those using the sass mixins in their own code.