2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

follow up to 4bab8b890e 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
+2
View File
@@ -76,9 +76,11 @@
margin-left: -15px; margin-left: -15px;
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
@supports (position: sticky) {
max-height: calc(100vh - 9rem); max-height: calc(100vh - 9rem);
overflow-y: auto; overflow-y: auto;
} }
}
// Override collapse behaviors // Override collapse behaviors
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {