diff --git a/src/components/Dialog/Dialog.scss b/src/components/Dialog/Dialog.scss index 76034bd5a2..913737b6c2 100644 --- a/src/components/Dialog/Dialog.scss +++ b/src/components/Dialog/Dialog.scss @@ -4,10 +4,10 @@ $block: '.#{variables.$ns}dialog'; #{$block} { position: relative; + display: flex; + flex-direction: column; &_with-scroll { - display: flex; - flex-direction: column; overflow-y: auto; max-height: calc(100vh - var(--yc-modal-margin) * 2); }