0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Fix sass map navbar-toggleable

Follow up to 6e8ce0c7dc84c9373f6d760b82bea575cd5358b8. Uses the breakpoint-next mixin to snag the next breakpoint in the media query for proper styling.
This commit is contained in:
Mark Otto 2016-10-17 21:05:07 -07:00
parent 6e8ce0c7dc
commit b35e77deaf

View File

@ -133,9 +133,10 @@
// scss-lint:disable ImportantRule
.navbar-toggleable {
@each $breakpoint in map-keys($grid-breakpoints) {
$next: breakpoint-next($breakpoint, $grid-breakpoints);
&-#{$breakpoint} {
@include clearfix;
@include media-breakpoint-up($breakpoint) {
@include media-breakpoint-up($next) {
display: block !important;
.navbar-brand {