mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Set max-height for all modals (#5242)
This commit is contained in:
@@ -21,6 +21,11 @@
|
|||||||
padding-left: 2rem;
|
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-content,
|
||||||
.manual-toc {
|
.manual-toc {
|
||||||
max-height: calc(100vh - 10rem);
|
max-height: calc(100vh - 10rem);
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ input[type="range"].zoom-slider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
|
max-height: min(550px, calc(100vh - 12rem));
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
@@ -166,8 +167,6 @@ input[type="range"].zoom-slider {
|
|||||||
.criterion-list {
|
.criterion-list {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
max-height: 550px;
|
|
||||||
overflow-y: auto;
|
|
||||||
|
|
||||||
.pinned-criterion-divider {
|
.pinned-criterion-divider {
|
||||||
padding-bottom: 2.5rem;
|
padding-bottom: 2.5rem;
|
||||||
|
|||||||
@@ -1385,3 +1385,9 @@ select {
|
|||||||
.table-list .rating-number {
|
.table-list .rating-number {
|
||||||
width: 6rem;
|
width: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-body {
|
||||||
|
max-height: calc(100vh - 12rem);
|
||||||
|
overflow-y: auto;
|
||||||
|
padding-right: 1.5rem;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user