diff --git a/app/styles/layouts/preview-email.css b/app/styles/layouts/preview-email.css index ba01995907..c55e6313b6 100644 --- a/app/styles/layouts/preview-email.css +++ b/app/styles/layouts/preview-email.css @@ -56,4 +56,33 @@ border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0; +} + +.fullscreen-modal-email-preview .gh-pe-mobile-container { + height: calc(100% - 64px); + max-height: 812px; +} + +.gh-pe-mobile-bezel { + width: 100%; + max-width: 43vh; + border: 1px solid var(--midgrey-l2); + border-radius: 40px; + display: flex; +} + +.gh-pe-mobile-screen { + width: 100%; + margin: 18px; + border: 1px solid var(--midgrey-l2); + border-radius: 23px; + flex-grow: 1; + overflow: hidden; +} + +.gh-pe-iframe { + height: 100%; + width: calc(43vh - 40px); + overflow-x: hidden; + padding: 0; } \ No newline at end of file diff --git a/app/templates/components/modal-post-email-preview.hbs b/app/templates/components/modal-post-email-preview.hbs index 75e31eedfd..535bfcddfb 100644 --- a/app/templates/components/modal-post-email-preview.hbs +++ b/app/templates/components/modal-post-email-preview.hbs @@ -10,10 +10,10 @@ {{svg-jar "close"}} {{#if (eq type "mobile")}} -