0
0
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:
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 // 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 {