diff --git a/src/components/NewMessageModal.vue b/src/components/NewMessageModal.vue index 225e74ff57..3bfb5502d0 100644 --- a/src/components/NewMessageModal.vue +++ b/src/components/NewMessageModal.vue @@ -6,6 +6,7 @@ @@ -665,6 +666,23 @@ export default { max-height: 700px !important; } +@media (min-width: #{variables.$breakpoint-mobile}) { + .composer-modal--large :deep(.modal-wrapper .modal-container) { + width: 75vw; + max-width: 75vw !important; + height: 90vh; + max-height: 90vh !important; + } +} + +// Let the Modal go full screen where it does so on its own +@media only screen and (max-width: 512px), only screen and (max-height: 400px) { + :deep(.modal-wrapper .modal-container) { + height: calc(100% - var(--header-height)); + max-height: none !important; + } +} + .minimize-button { float: inline-end; position: absolute;