diff options
| author | Mark Otto <[email protected]> | 2017-06-17 10:14:45 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-06-17 13:13:47 -0700 |
| commit | 60d8c8754f9e03bcd9a1d9b7d6507a341ef9bfa0 (patch) | |
| tree | f59181a1a1c6fc8258ad553f7b869ea88954a6ea | |
| parent | 4bab8b890e5337cda3a3221462ab40a84d96c3b4 (diff) | |
| download | bootstrap-60d8c8754f9e03bcd9a1d9b7d6507a341ef9bfa0.tar.xz bootstrap-60d8c8754f9e03bcd9a1d9b7d6507a341ef9bfa0.zip | |
wrap .sticky-top in supports query
| -rw-r--r-- | scss/utilities/_position.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scss/utilities/_position.scss b/scss/utilities/_position.scss index 2cf08bfa0..74b8d39e7 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; + } } |
