From: Mark Otto Date: Wed, 28 Dec 2016 22:51:37 +0000 (-0800) Subject: limit linter override to the affected ruleset X-Git-Tag: v4.0.0-alpha.6~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d24364605ef19ed9f631b8489ce3d6accab6b8a;p=thirdparty%2Fbootstrap.git limit linter override to the affected ruleset --- diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 90355fc069..4c603c1db7 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