aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-12-28 14:51:37 -0800
committerMark Otto <[email protected]>2016-12-28 15:13:43 -0800
commit3d24364605ef19ed9f631b8489ce3d6accab6b8a (patch)
tree193eb2953dab135cc4ce95a011a3fd63d2bae409
parent41f7f6ec525cea7ff92816975ec907ea18011725 (diff)
downloadbootstrap-3d24364605ef19ed9f631b8489ce3d6accab6b8a.tar.xz
bootstrap-3d24364605ef19ed9f631b8489ce3d6accab6b8a.zip
limit linter override to the affected ruleset
-rw-r--r--scss/_navbar.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index 90355fc06..4c603c1db 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -241,7 +241,6 @@
// Custom override for collapse plugin in navbar.
// Placed at the end of the file so it can override some CSS properties
-// scss-lint:disable ImportantRule
.navbar-toggleable {
@each $breakpoint in map-keys($grid-breakpoints) {
$next: breakpoint-next($breakpoint, $grid-breakpoints);
@@ -273,10 +272,12 @@
align-items: center;
}
+ // scss-lint:disable ImportantRule
.navbar-collapse {
display: flex !important;
width: 100%;
}
+ // scss-lint:enable ImportantRule
.nav-item {
display: inline-block;
@@ -294,4 +295,3 @@
}
}
}
-// scss-lint:enable ImportantRule