Modal: Add max-width in modal dialog in order to fit the screen.
This commit is contained in:
parent
f264617e5a
commit
aa1e6c9df3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue