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:
@@ -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
|
|
||||||
|
Reference in New Issue
Block a user