MDL-86704 theme_boost: Fix modchooser height on small screens
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user