0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

follow up to 4bab8b890e5337cda3a3221462ab40a84d96c3b4 to avoid the max-height if there's no sticky

This commit is contained in:
Mark Otto 2017-06-17 22:29:54 -07:00
parent bcc1f84d56
commit b1d07a8e7c

View File

@ -76,8 +76,10 @@
margin-left: -15px;
@include media-breakpoint-up(md) {
max-height: calc(100vh - 9rem);
overflow-y: auto;
@supports (position: sticky) {
max-height: calc(100vh - 9rem);
overflow-y: auto;
}
}
// Override collapse behaviors