Make attachments block full size in mail preview & display

This commit is contained in:
Hadi Nategh 2022-08-23 15:11:49 +02:00
parent 739005ad59
commit 33b0380985
2 changed files with 45 additions and 40 deletions

View File

@ -22,6 +22,7 @@
<hbox width="100%" class="mailPreviewHeaders">
<lavatar src="@avatar" lname="@address" shape="rounded"/>
<vbox class="previewWrapper">
<hbox>
<et2-details class="details" title="details" toggleOnHover="true" hoist="true" toggleAlign="left">
<et2-select-email slot="summary" value="@from" readonly="true"/>
<hbox disabled="!@from">
@ -45,6 +46,8 @@
<et2-select-email id="bcc" readonly="true"></et2-select-email>
</hbox>
</et2-details>
<date-time-today align="right" id="mail_displaydate" readonly="true"/>
</hbox>
<et2-details toggleAlign="left" title="@attachmentsBlockTitle" toggleOnHover="true" class="attachments" hoist="true" disabled="!@mail_displayattachments">
<hbox slot="summary">
<grid class="previewAttachmentArea egwGridView_grid" >
@ -94,7 +97,6 @@
</grid>
</et2-details>
</vbox>
<date-time-today align="right" id="mail_displaydate" readonly="true"/>
</hbox>
<box class="mailDisplayContainer">

View File

@ -38,6 +38,7 @@
<hbox width="100%" class="mailPreviewHeaders">
<lavatar src="@avatar" lname="@address" shape="rounded" size="2.75em"/>
<vbox>
<hbox>
<et2-details class="details" toggleOnHover="true" hoist="true" toggleAlign="left">
<et2-select-email slot="summary" id="fromaddress" readonly="true"/>
<hbox>
@ -53,6 +54,8 @@
<et2-select-email id="ccaddress" readonly="true"></et2-select-email>
</hbox>
</et2-details>
<date-time-today align="right" id="date" readonly="true"/>
</hbox>
<et2-details toggleAlign="left" title="@attachmentsBlockTitle" toggleOnHover="true" hoist="true" class="attachments" disabled="!@attachmentsBlock">
<hbox slot="summary">
<grid class="previewAttachmentArea egwGridView_grid" >
@ -102,7 +105,7 @@
</grid>
</et2-details>
</vbox>
<date-time-today align="right" id="date" readonly="true"/>
</hbox>
<box id="mailPreviewContainer">