0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01: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.
// 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