mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Set max-height for all modals (#5242)
This commit is contained in:
parent
b897de3e5e
commit
a3838734c5
3 changed files with 12 additions and 2 deletions
|
|
@ -21,6 +21,11 @@
|
|||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
// reset max-height so that we don't end up with two scroll bars
|
||||
max-height: initial;
|
||||
}
|
||||
|
||||
.manual-content,
|
||||
.manual-toc {
|
||||
max-height: calc(100vh - 10rem);
|
||||
|
|
|
|||
|
|
@ -154,6 +154,7 @@ input[type="range"].zoom-slider {
|
|||
}
|
||||
|
||||
.modal-body {
|
||||
max-height: min(550px, calc(100vh - 12rem));
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
|
@ -166,8 +167,6 @@ input[type="range"].zoom-slider {
|
|||
.criterion-list {
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
max-height: 550px;
|
||||
overflow-y: auto;
|
||||
|
||||
.pinned-criterion-divider {
|
||||
padding-bottom: 2.5rem;
|
||||
|
|
|
|||
|
|
@ -1385,3 +1385,9 @@ select {
|
|||
.table-list .rating-number {
|
||||
width: 6rem;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
max-height: calc(100vh - 12rem);
|
||||
overflow-y: auto;
|
||||
padding-right: 1.5rem;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue