]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
wrap .bd-navbar position styles in supports query, remove prefix, and update linter...
authorMark Otto <markdotto@gmail.com>
Sat, 17 Jun 2017 17:14:31 +0000 (10:14 -0700)
committerMark Otto <markd.otto@gmail.com>
Sat, 17 Jun 2017 20:13:47 +0000 (13:13 -0700)
assets/scss/_nav.scss

index eaf2f5693ac246bdea5591362647c3d43fcdb54e..c9635cf8cb8ff37fbca0e91830a76f231b794971 100644 (file)
@@ -1,5 +1,3 @@
-// scss-lint:disable VendorPrefix
-
 //
 // Main navbar
 //
   }
 
   @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 {