scroll quickhelp dialog if large

using `calc(100vh-padding)` for max-height
pull/37/head
Min RK 11 years ago
parent cf6925ce7a
commit 676da764fe

@ -120,9 +120,11 @@ span#login_widget > .button,
// class for stretching dialogs to fill the screen
.modal_stretch .modal-dialog {
.vbox();
min-height: 80%;
min-height: 80vh;
.modal-body {
max-height: none;
// ~"foo" is to avoid less turning this into a weird value
max-height: calc(~"100vh - 200px");
overflow: auto;
flex: 1;
}
}

@ -8572,10 +8572,11 @@ span#login_widget > .button .badge,
display: flex;
flex-direction: column;
align-items: stretch;
min-height: 80%;
min-height: 80vh;
}
.modal_stretch .modal-dialog .modal-body {
max-height: none;
max-height: calc(100vh - 200px);
overflow: auto;
flex: 1;
}
@media (min-width: 768px) {

Loading…
Cancel
Save