diff options
| author | Martijn Cuppens <[email protected]> | 2020-04-18 14:10:18 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-18 14:10:18 +0200 |
| commit | 4fc701f6aa8b01fb952733b8a4a0b55337760391 (patch) | |
| tree | c04475d94abbdf75c5dec8251ce655379b446fcb /scss/helpers | |
| parent | 338ca8382187ecf9cd7c4c1f63c28f7853330c2d (diff) | |
| download | bootstrap-4fc701f6aa8b01fb952733b8a4a0b55337760391.tar.xz bootstrap-4fc701f6aa8b01fb952733b8a4a0b55337760391.zip | |
Drop `@support (position: sticky)` media query (#30415)
Diffstat (limited to 'scss/helpers')
| -rw-r--r-- | scss/helpers/_position.scss | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/scss/helpers/_position.scss b/scss/helpers/_position.scss index 6bcbbbd5a..31851eb72 100644 --- a/scss/helpers/_position.scss +++ b/scss/helpers/_position.scss @@ -17,16 +17,14 @@ } // Responsive sticky top -@supports (position: sticky) { - @each $breakpoint in map-keys($grid-breakpoints) { - @include media-breakpoint-up($breakpoint) { - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); +@each $breakpoint in map-keys($grid-breakpoints) { + @include media-breakpoint-up($breakpoint) { + $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - .sticky#{$infix}-top { - position: sticky; - top: 0; - z-index: $zindex-sticky; - } + .sticky#{$infix}-top { + position: sticky; + top: 0; + z-index: $zindex-sticky; } } } |
