mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Drop @support (position: sticky)
media query (#30415)
This commit is contained in:
parent
338ca83821
commit
4fc701f6aa
@ -17,8 +17,7 @@
|
||||
}
|
||||
|
||||
// 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) {
|
||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||
|
||||
@ -28,5 +27,4 @@
|
||||
z-index: $zindex-sticky;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
.bd-toc {
|
||||
@include media-breakpoint-up(lg) {
|
||||
@supports (position: sticky) {
|
||||
position: sticky;
|
||||
top: 5rem;
|
||||
right: 0;
|
||||
@ -10,7 +9,6 @@
|
||||
height: subtract(100vh, 7rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
@include font-size(.875rem);
|
||||
|
Loading…
x
Reference in New Issue
Block a user