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;