mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
follow up to 4bab8b890e5337cda3a3221462ab40a84d96c3b4 to avoid the max-height if there's no sticky
This commit is contained in:
parent
bcc1f84d56
commit
b1d07a8e7c
@ -76,8 +76,10 @@
|
|||||||
margin-left: -15px;
|
margin-left: -15px;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
max-height: calc(100vh - 9rem);
|
@supports (position: sticky) {
|
||||||
overflow-y: auto;
|
max-height: calc(100vh - 9rem);
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Override collapse behaviors
|
// Override collapse behaviors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user