mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Fix sass map navbar-toggleable
Follow up to 6e8ce0c7dc. Uses the breakpoint-next mixin to snag the next breakpoint in the media query for proper styling.
This commit is contained in:
+2
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user