2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +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
+4 -2
View File
@@ -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