From 60d8c8754f9e03bcd9a1d9b7d6507a341ef9bfa0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 17 Jun 2017 10:14:45 -0700 Subject: [PATCH] wrap .sticky-top in supports query --- scss/utilities/_position.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scss/utilities/_position.scss b/scss/utilities/_position.scss index 2cf08bfa01..74b8d39e70 100644 --- a/scss/utilities/_position.scss +++ b/scss/utilities/_position.scss @@ -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; + } }