]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
wrap .sticky-top in supports query
authorMark Otto <markdotto@gmail.com>
Sat, 17 Jun 2017 17:14:45 +0000 (10:14 -0700)
committerMark Otto <markd.otto@gmail.com>
Sat, 17 Jun 2017 20:13:47 +0000 (13:13 -0700)
scss/utilities/_position.scss

index 2cf08bfa013d9a9bdd4c0a852ba2f380e68ccd78..74b8d39e7030a5aabd4651436fb3766dc3f757a7 100644 (file)
@@ -17,7 +17,9 @@
 }
 
 .sticky-top {
-  position: sticky;
-  top: 0;
-  z-index: $zindex-sticky;
+  @supports (position: sticky) {
+    position: sticky;
+    top: 0;
+    z-index: $zindex-sticky;
+  }
 }