MDL-86704 theme_boost: Fix modchooser height on small screens

This commit is contained in:
Mikel Martín
2025-09-19 11:43:12 +02:00
parent 0ec57fc3f2
commit bf0ee36713
3 changed files with 6 additions and 0 deletions
@@ -38,6 +38,10 @@
@include media-breakpoint-up(sm) {
height: 640px;
// Ensure the modal content does not exceed the viewport height.
// The calculation uses the modal margin variable and the height of the modal header and footer.
max-height: calc(100vh - var(--#{$prefix}modal-margin) * 2 - 9rem);
}
}
+1
View File
@@ -31725,6 +31725,7 @@ table.calendartable caption {
@media (min-width: 576px) {
.modchooser.modal-dialog .modal-body .carousel-item {
height: 640px;
max-height: calc(100vh - var(--bs-modal-margin) * 2 - 9rem);
}
}
.modchooser.modal-dialog .modal-body .loading-icon {
+1
View File
@@ -31725,6 +31725,7 @@ table.calendartable caption {
@media (min-width: 576px) {
.modchooser.modal-dialog .modal-body .carousel-item {
height: 640px;
max-height: calc(100vh - var(--bs-modal-margin) * 2 - 9rem);
}
}
.modchooser.modal-dialog .modal-body .loading-icon {