0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

wrap .bd-navbar position styles in supports query, remove prefix, and update linter settings for file

This commit is contained in:
Mark Otto 2017-06-17 10:14:31 -07:00 committed by Mark Otto
parent 2a579e546c
commit 4bab8b890e

View File

@ -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 {