From 102fc087583e89faebe654d22ce48a9811ca1bd5 Mon Sep 17 00:00:00 2001 From: Jonas Sulzer Date: Thu, 7 Nov 2019 19:10:37 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20message=20iframe=20ve?= =?UTF-8?q?rtically=20doesn't=20fit=20the=20container=20/=20available=20sp?= =?UTF-8?q?ace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Sulzer --- css/mobile.scss | 1 - src/components/Message.vue | 1 + src/components/MessageHTMLBody.vue | 12 ++++-------- src/views/Home.vue | 2 ++ 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/css/mobile.scss b/css/mobile.scss index f7b82916c7..ca0b0bdbde 100644 --- a/css/mobile.scss +++ b/css/mobile.scss @@ -19,7 +19,6 @@ background: #fff; width: 100%; left: 0; - height: 100%; top: 0; } diff --git a/src/components/Message.vue b/src/components/Message.vue index 0eb1e92b6d..408a93e4b7 100644 --- a/src/components/Message.vue +++ b/src/components/Message.vue @@ -286,6 +286,7 @@ export default { } .mail-message-body { + flex-grow: 1; margin-bottom: 100px; } diff --git a/src/components/MessageHTMLBody.vue b/src/components/MessageHTMLBody.vue index ce08ae2431..5b0b1c1758 100644 --- a/src/components/MessageHTMLBody.vue +++ b/src/components/MessageHTMLBody.vue @@ -83,23 +83,19 @@ export default { #mail-content { margin-left: 30px; margin-top: 2px; + display: flex; + flex-direction: column; + height: 100%; } #mail-message-has-blocked-content { margin-left: 8px; } #message-container { - position: relative; - width: 100%; - height: 0; - padding-bottom: 56.25%; + flex-grow: 1; } #message-frame { - position: absolute; - top: 0; - left: 0; - width: 100%; height: 100%; } diff --git a/src/views/Home.vue b/src/views/Home.vue index e47e8caab8..129efdfb5a 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -103,5 +103,7 @@ export default { ::v-deep #app-content #app-content-wrapper .app-content-details { margin: 0 auto; max-width: 900px; + display: flex; + flex-direction: column; } From 1e41543257663b0dae01c11c01680dc2f9cce57b Mon Sep 17 00:00:00 2001 From: Jonas Sulzer Date: Thu, 19 Mar 2020 11:52:02 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20floating=20attachment?= =?UTF-8?q?=20button=20with=20popover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Sulzer --- css/mobile.scss | 5 ----- src/components/Message.vue | 28 ++++++++++++++++++++------- src/components/MessageAttachment.vue | 24 ++++------------------- src/components/MessageAttachments.vue | 6 ++++-- 4 files changed, 29 insertions(+), 34 deletions(-) diff --git a/css/mobile.scss b/css/mobile.scss index ca0b0bdbde..5699a9916f 100644 --- a/css/mobile.scss +++ b/css/mobile.scss @@ -49,11 +49,6 @@ padding-right: 12px; } - #mail-content, - .mail-message-attachments { - margin: 0 10px 50px 30px; - } - /* reply-forward actions align to the far right */ #mail-message-header #mail-message-actions { margin-right: 5px; diff --git a/src/components/Message.vue b/src/components/Message.vue index 408a93e4b7..5226401c43 100644 --- a/src/components/Message.vue +++ b/src/components/Message.vue @@ -67,7 +67,12 @@ - + + + Attachments + + +
@@ -77,6 +82,7 @@