From a6bcc3228dad17143c7b74e200602bbfbb1596c3 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 9 Nov 2022 10:44:13 -0700 Subject: [PATCH] Mail: Adjust positioning / margins of preview in horizontal mode --- mail/templates/default/app.css | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index 6461b0e503..b43856e2e3 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -455,17 +455,28 @@ div.mail-compose_fileselector { width: 100%; height: 100%; } + #mail-index_mail-index-preview { overflow: hidden; position: relative; background-color: white; width: calc(100% - 1em); - margin-left: 1em; + margin-left: 1ex; } -.previewWrapper {height: 100%} + +#mail-index_mailSplitter[vertical] #mail-index_mail-index-preview { + margin-left: 0; + margin-top: 1ex; +} + +.previewWrapper { + height: 100% +} + .previewWrapper > * { margin-bottom: 0.5em; } + .previewWrapper .et2_details.et2_details_expanded .et2_details_wrapper { display: block; position: absolute;