mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
wrap .bd-navbar position styles in supports query, remove prefix, and update linter settings for file
This commit is contained in:
parent
2a579e546c
commit
4bab8b890e
@ -1,5 +1,3 @@
|
|||||||
// scss-lint:disable VendorPrefix
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Main navbar
|
// Main navbar
|
||||||
//
|
//
|
||||||
@ -30,10 +28,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
position: -webkit-sticky;
|
@supports (position: sticky) {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 1071; // over everything in bootstrap
|
z-index: 1071; // over everything in bootstrap
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user