From 8de82c6e33e4f5dfdfa906e395c439c3d95b5dad Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 25 Jul 2024 11:06:38 -0600 Subject: [PATCH] Mail: Change display of calendar events to show more of the request without scrolling --- mail/templates/mobile/app.css | 8 +++++++- mail/templates/mobile/app.less | 9 +++++++++ mail/templates/mobile/view.xet | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/mail/templates/mobile/app.css b/mail/templates/mobile/app.css index 5a9bea6579..4cd8d712d4 100644 --- a/mail/templates/mobile/app.css +++ b/mail/templates/mobile/app.css @@ -127,10 +127,17 @@ } body #popupMainDiv div#mail-view { height: 100%; + box-sizing: border-box; + } + body #popupMainDiv div#mail-view div > et2-vbox { + height: 100%; } body #popupMainDiv div#mail-view #mail-view_subject { font-size: 12pt; } + body #popupMainDiv div#mail-view .mailContent { + flex-grow: 1; + } body #popupMainDiv #mail-view_toaddressdetails { color: #26537c; float: right; @@ -354,4 +361,3 @@ position: inherit; } } -/*# sourceMappingURL=app.css.map */ \ No newline at end of file diff --git a/mail/templates/mobile/app.less b/mail/templates/mobile/app.less index baec3d91f7..1de9b91b0f 100644 --- a/mail/templates/mobile/app.less +++ b/mail/templates/mobile/app.less @@ -137,10 +137,19 @@ } div#mail-view { height: 100%; + box-sizing: border-box; + + div > et2-vbox { + height: 100% + } #mail-view_subject { .mob-fontsize-l; } + + .mailContent { + flex-grow: 1; + } } #mail-view_toaddressdetails { color: #26537c; diff --git a/mail/templates/mobile/view.xet b/mail/templates/mobile/view.xet index 9fec876556..63454f98b7 100644 --- a/mail/templates/mobile/view.xet +++ b/mail/templates/mobile/view.xet @@ -2,7 +2,7 @@