From 130f0c9cb89ffd5d4d6fd3f26bfec4ed0af4539e Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 28 Mar 2024 05:56:37 +0100 Subject: [PATCH] fix: modal size --- src/common/MetaPreview/styles.less | 6 +++++- src/common/ModalDialog/styles.less | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/MetaPreview/styles.less b/src/common/MetaPreview/styles.less index 0393e3d63..30ff70ea9 100644 --- a/src/common/MetaPreview/styles.less +++ b/src/common/MetaPreview/styles.less @@ -210,7 +210,7 @@ } .share-prompt { - width: 100%; + width: 30rem; } @media only screen and (max-width: @minimum) { @@ -240,4 +240,8 @@ } } } + + .share-prompt { + width: auto; + } } \ No newline at end of file diff --git a/src/common/ModalDialog/styles.less b/src/common/ModalDialog/styles.less index f5c259d55..9aafca16a 100644 --- a/src/common/ModalDialog/styles.less +++ b/src/common/ModalDialog/styles.less @@ -15,7 +15,6 @@ display: flex; flex-direction: column; max-width: 80%; - min-width: 30%; max-height: 80%; padding: 0 2rem; border-radius: var(--border-radius); @@ -68,9 +67,6 @@ .modal-dialog-content { z-index: 1; position: relative; - height: 100%; - width: 100%; - padding: 0 1rem; .title-container { flex: 1 0 auto;