Fix click handling for attachment's summary is not working

This commit is contained in:
Hadi Nategh 2022-08-08 14:46:53 +02:00
parent 79a395e3e6
commit 0d727f59fd
3 changed files with 9 additions and 9 deletions

View File

@ -63,7 +63,7 @@
<description id="mail_displayattachments[0][partID]" />
<description id="mail_displayattachments[0][type]" />
<description id="mail_displayattachments[0][winmailFlag]" />
<description class="et2_link useEllipsis" id="mail_displayattachments[0][filename]" no_lang="1" expose_view="true" mime="0[type]" mime_data="mail_displayattachments[0][mime_data]" href="mail_displayattachments[0][mime_url]"/>
<description class="et2_link useEllipsis" id="mail_displayattachments[0][filename]" no_lang="1" expose_view="true" mime="@mail_displayattachments[0][type]" mime_data="@mail_displayattachments[0][mime_data]" href="@mail_displayattachments[0][mime_url]"/>
<description align="right" id="mail_displayattachments[0][size]"/>
</row>
</rows>

View File

@ -71,7 +71,7 @@
<description id="attachmentsBlock[0][partID]" />
<description id="attachmentsBlock[0][type]" />
<description id="attachmentsBlock[0][winmailFlag]" />
<description class="et2_link useEllipsis" id="attachmentsBlock[0][filename]" no_lang="1" expose_view="true" mime="0[type]" mime_data="attachmentsBlock[0][mime_data]" href="attachmentsBlock[0][mime_url]"/>
<description class="et2_link useEllipsis" id="attachmentsBlock[0][filename]" no_lang="1" expose_view="true" mime="@attachmentsBlock[0][type]" mime_data="@attachmentsBlock[0][mime_data]" href="@attachmentsBlock[0][mime_url]"/>
<description align="right" id="attachmentsBlock[0][size]"/>
</row>
</rows>

View File

@ -493,18 +493,16 @@ div.mail-compose_fileselector {
margin-bottom: 1em;
font-size: 1.2em;
}
et2-details.details::part(summary) {
et2-details.details::part(summary),
et2-details.attachments::part(summary) {
padding-left: 1em;
}
et2-details.attachments::part(header) {
padding-left: 0px;
}
.mailDisplay et2-details::part(base),
.previewWrapper et2-details::part(base) {
border: none;
}
et2-details.attachments::part(content) {
padding-left: 0px;
.mailPreviewHeaders et2-details::part(header) {
padding: 0;
}
#mail-index_mailPreview .et2_email > span {
display: inline;
@ -683,9 +681,11 @@ div.mailDisplayHeaders div.mail_extraEmails.visible {
}
.mailPreviewHeaders :first-child,
.mailDisplayHeaders :first-child {
flex: 0 0 auto;
color: #7a7a7a;
}
.mailPreviewHeaders et2-lavatar {
flex: 0 0 auto;
}
div.mailPreviewHeaders div.mail_extraEmails {
display: inline-block;
max-height: 1.3em;