mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +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:
parent
6e8ce0c7dc
commit
b35e77deaf
@ -133,9 +133,10 @@
|
|||||||
// scss-lint:disable ImportantRule
|
// scss-lint:disable ImportantRule
|
||||||
.navbar-toggleable {
|
.navbar-toggleable {
|
||||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||||
|
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
||||||
&-#{$breakpoint} {
|
&-#{$breakpoint} {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
@include media-breakpoint-up($breakpoint) {
|
@include media-breakpoint-up($next) {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user