]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
limit linter override to the affected ruleset
authorMark Otto <markdotto@gmail.com>
Wed, 28 Dec 2016 22:51:37 +0000 (14:51 -0800)
committerMark Otto <markd.otto@gmail.com>
Wed, 28 Dec 2016 23:13:43 +0000 (15:13 -0800)
scss/_navbar.scss

index 90355fc0696c45c111d756fbbf697ddce59542ba..4c603c1db71449a7e99d69e86a1af8c6d0060637 100644 (file)
 // 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);
           align-items: center;
         }
 
+        // scss-lint:disable ImportantRule
         .navbar-collapse {
           display: flex !important;
           width: 100%;
         }
+        // scss-lint:enable ImportantRule
 
         .nav-item {
           display: inline-block;
     }
   }
 }
-// scss-lint:enable ImportantRule