]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix breakpoint mixins for custom breakpoint maps (#25264)
authorSander Melnikov <sandydoo@users.noreply.github.com>
Sat, 13 Jan 2018 07:45:21 +0000 (10:45 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 13 Jan 2018 07:45:21 +0000 (09:45 +0200)
commit216c7ea20f9a96ece061fe2391b8a5d7740153c0
treecb90c53a60ec2b0f4c76d509104a4a4bbafddb32
parentf4bf0542d78018a31c0ae07d5dee1aacfd20182e
Fix breakpoint mixins for custom breakpoint maps (#25264)

When using the `media-breakpoint-between` or `media-breakpoint-only`
mixins with a custom breakpoint map – not defined as `$grid-breakpoints`
– the mixin incorrectly defaults back to the global `$grid-breakpoints`
map in certain situations. This commit correctly passes on the
`$breakpoints` argument to the other mixins called within the block.
scss/mixins/_breakpoints.scss