Mail: Adjust positioning / margins of preview in horizontal mode

This commit is contained in:
nathan 2022-11-09 10:44:13 -07:00
parent 8491306d86
commit a6bcc3228d

View File

@ -455,17 +455,28 @@ div.mail-compose_fileselector {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
#mail-index_mail-index-preview { #mail-index_mail-index-preview {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
background-color: white; background-color: white;
width: calc(100% - 1em); 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 > * { .previewWrapper > * {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.previewWrapper .et2_details.et2_details_expanded .et2_details_wrapper { .previewWrapper .et2_details.et2_details_expanded .et2_details_wrapper {
display: block; display: block;
position: absolute; position: absolute;