forked from rDrama/rDrama
1
0
Fork 0

css change

master
Aevann1 2022-11-16 12:58:34 +02:00
parent c5ad3a480f
commit f6fd64af08
1 changed files with 4 additions and 4 deletions

View File

@ -1692,10 +1692,10 @@ button.close {
} }
.modal-dialog-scrollable { .modal-dialog-scrollable {
display: flex; display: flex;
max-height: calc(100% - 1rem); max-height: calc(100% - 5rem);
} }
.modal-dialog-scrollable .modal-content { .modal-dialog-scrollable .modal-content {
max-height: calc(100vh - 1rem); max-height: calc(100vh - 5rem);
overflow: hidden; overflow: hidden;
} }
.modal-dialog-scrollable .modal-header, .modal-dialog-scrollable .modal-footer { .modal-dialog-scrollable .modal-header, .modal-dialog-scrollable .modal-footer {
@ -1707,11 +1707,11 @@ button.close {
.modal-dialog-centered { .modal-dialog-centered {
display: flex; display: flex;
align-items: center; align-items: center;
min-height: calc(100% - 1rem); max-height: calc(100% - 5rem);
} }
.modal-dialog-centered::before { .modal-dialog-centered::before {
display: block; display: block;
height: calc(100vh - 1rem); height: calc(100vh - 5rem);
content: ""; content: "";
} }
.modal-dialog-centered.modal-dialog-scrollable { .modal-dialog-centered.modal-dialog-scrollable {