mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,3 @@
|
|||
// scss-lint:disable VendorPrefix
|
||||
|
||||
//
|
||||
// Main navbar
|
||||
//
|
||||
|
@ -30,10 +28,11 @@
|
|||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1071; // over everything in bootstrap
|
||||
@supports (position: sticky) {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1071; // over everything in bootstrap
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
|
|
Loading…
Add table
Reference in a new issue