From aa1e6c9df390a4ba0919b5f8591374f7eec75089 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 29 Mar 2023 15:58:03 +0300 Subject: [PATCH] Modal: Add max-width in modal dialog in order to fit the screen. --- less/modal.less | 1 + 1 file changed, 1 insertion(+) diff --git a/less/modal.less b/less/modal.less index 9992582..35fb9a0 100644 --- a/less/modal.less +++ b/less/modal.less @@ -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; }