From a895a0d79e0063a9b57e03f523ed400f94f10efe Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 2 Oct 2015 11:41:37 +0200 Subject: private mail template and css fixes --- view/css/mod_mail.css | 25 +++++++++++++------------ view/tpl/mail_conv.tpl | 10 ++++++++-- 2 files changed, 21 insertions(+), 14 deletions(-) (limited to 'view') diff --git a/view/css/mod_mail.css b/view/css/mod_mail.css index f0f4458fa..cabfb299f 100644 --- a/view/css/mod_mail.css +++ b/view/css/mod_mail.css @@ -27,24 +27,25 @@ /* message/id */ -.mail-conv-outside-wrapper { - display: table; - table-layout: fixed; -} - .mail-conv-sender { - display: table-cell; - vertical-align: top; + float: left; margin-right: 10px; + margin-bottom: 10px; +} + +.mail-conv-sender img{ + width: 32px; + height: 32px; } .mail-conv-sender-name { font-weight: bold; } -.mail-conv-detail { - display: table-cell; - vertical-align: top; - width: 100%; - padding-left: 10px; +.mail-conv-body { + margin-bottom: 10px; +} + +.mail-conv-body img { + max-width: 100%; } diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl index 09333ae11..d850df8c2 100755 --- a/view/tpl/mail_conv.tpl +++ b/view/tpl/mail_conv.tpl @@ -4,9 +4,14 @@
{{if $mail.is_recalled}}{{$mail.is_recalled}}{{/if}} - +
{{$mail.date}}
-
{{$mail.body}}
+
+
+
+
+ {{$mail.body}} +
{{if $mail.can_recall}} @@ -14,6 +19,7 @@ {{/if}}
+
-- cgit v1.2.3