1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

limit linter override to the affected ruleset

This commit is contained in:
Mark Otto
2016-12-28 14:51:37 -08:00
committed by Mark Otto
parent 41f7f6ec52
commit 3d24364605

View File

@@ -241,7 +241,6 @@
// Custom override for collapse plugin in navbar. // Custom override for collapse plugin in navbar.
// Placed at the end of the file so it can override some CSS properties // Placed at the end of the file so it can override some CSS properties
// 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); $next: breakpoint-next($breakpoint, $grid-breakpoints);
@@ -273,10 +272,12 @@
align-items: center; align-items: center;
} }
// scss-lint:disable ImportantRule
.navbar-collapse { .navbar-collapse {
display: flex !important; display: flex !important;
width: 100%; width: 100%;
} }
// scss-lint:enable ImportantRule
.nav-item { .nav-item {
display: inline-block; display: inline-block;
@@ -294,4 +295,3 @@
} }
} }
} }
// scss-lint:enable ImportantRule