2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Drop @support (position: sticky) media query (#30415)

This commit is contained in:
Martijn Cuppens
2020-04-18 14:10:18 +02:00
committed by GitHub
parent 338ca83821
commit 4fc701f6aa
2 changed files with 13 additions and 17 deletions
+7 -9
View File
@@ -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;
}
}
}