forked from rDrama/rDrama
1
0
Fork 0

minor adjustment for modal margins on mobile

master
Aevann1 2022-11-12 14:01:33 +02:00
parent 31e6ca0889
commit ccca9a7684
1 changed files with 4 additions and 4 deletions

View File

@ -1788,16 +1788,16 @@ button.close {
margin: 0.25rem;
}
.modal-dialog-scrollable {
max-height: calc(100% - 3.5rem);
max-height: calc(100% - 5rem);
}
.modal-dialog-scrollable .modal-content {
max-height: calc(100vh - 3.5rem);
max-height: calc(100vh - 5rem);
}
.modal-dialog-centered {
min-height: calc(100% - 3.5rem);
min-height: calc(100% - 5rem);
}
.modal-dialog-centered::before {
height: calc(100vh - 3.5rem);
height: calc(100vh - 5rem);
}
@media (min-width: 992px) {
.modal-xl {