Limiting history modal height and width

This commit is contained in:
Kris 2018-06-01 11:59:29 -04:00
parent 725859ba43
commit 41999b9949
3 changed files with 16 additions and 4 deletions

View File

@ -130,9 +130,10 @@
height: 100%; height: 100%;
z-index: z("modal","content"); z-index: z("modal","content");
overflow: auto; overflow: auto;
&:not(.history-modal) {
.modal-body { .modal-body {
max-height: none !important; max-height: none !important;
}
} }
} }

View File

@ -3,9 +3,11 @@
.modal.history-modal { .modal.history-modal {
.modal-inner-container { .modal-inner-container {
min-height: 500px;
max-width: 960px; max-width: 960px;
} }
.modal-body {
height: 70vh;
}
#revision-controls { #revision-controls {
.btn[disabled] { .btn[disabled] {
cursor: not-allowed; cursor: not-allowed;

View File

@ -2,6 +2,15 @@
button { button {
float: none; float: none;
} }
.modal-body {
height: 62vh;
}
.modal-inner-container {
min-height: 400px;
}
#revisions {
max-width: 90vw;
}
#display-modes { #display-modes {
display: none; display: none;
} }