0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-07 04:54:24 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 17 deletions

View File

@ -17,7 +17,6 @@
} }
// Responsive sticky top // Responsive sticky top
@supports (position: sticky) {
@each $breakpoint in map-keys($grid-breakpoints) { @each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) { @include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
@ -29,4 +28,3 @@
} }
} }
} }
}

View File

@ -2,7 +2,6 @@
.bd-toc { .bd-toc {
@include media-breakpoint-up(lg) { @include media-breakpoint-up(lg) {
@supports (position: sticky) {
position: sticky; position: sticky;
top: 5rem; top: 5rem;
right: 0; right: 0;
@ -10,7 +9,6 @@
height: subtract(100vh, 7rem); height: subtract(100vh, 7rem);
overflow-y: auto; overflow-y: auto;
} }
}
nav { nav {
@include font-size(.875rem); @include font-size(.875rem);