Modal: Add max-width in modal dialog in order to fit the screen.

This commit is contained in:
Konstantinos Triantafyllou 2023-03-29 15:58:03 +03:00
parent f264617e5a
commit aa1e6c9df3
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
@modal-close-position: @global-medium-gutter;
.hook-modal-dialog() {
max-width: calc(100vw - 2*@modal-padding-horizontal-s);
border-radius: @modal-dialog-border-radius;
}