Apply grid style to attachment area of mail preview (Make it standard like other attachments area)

This commit is contained in:
Hadi Nategh 2014-09-04 10:54:32 +00:00
parent 2beb93ed26
commit 2cc8d1a49b
3 changed files with 5 additions and 5 deletions

View File

@ -183,7 +183,6 @@ A.sieveRowInActive
} }
table tr.attachmentRow > td{ table tr.attachmentRow > td{
padding:0 !important; padding:0 !important;
max-width: 0px;
} }
table tr.attachmentRow > td > img { table tr.attachmentRow > td > img {
background:transparent; background:transparent;
@ -289,6 +288,7 @@ pre {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
word-wrap: break-word; word-wrap: break-word;
max-width: 0px;
} }
#mail-index { #mail-index {
position: relative position: relative

View File

@ -78,7 +78,7 @@
</hbox> </hbox>
<hbox id="mailPreviewHeadersAttachments" class="mailPreviewHeaders"> <hbox id="mailPreviewHeadersAttachments" class="mailPreviewHeaders">
<description value="Attachments"/> <description value="Attachments"/>
<grid disabled="@no_griddata" id="previewAttachmentArea" class="previewAttachmentArea"> <grid disabled="@no_griddata" id="previewAttachmentArea" class="previewAttachmentArea egwGridView_grid">
<columns> <columns>
<column disabled="!@showtempname"/> <column disabled="!@showtempname"/>
<column disabled="!@showtempname"/> <column disabled="!@showtempname"/>
@ -92,12 +92,12 @@
<column /> <column />
</columns> </columns>
<rows> <rows>
<row > <row class="row attachmentRow">
<description id="${row}[attachment_number]" /> <description id="${row}[attachment_number]" />
<description id="${row}[partID]" /> <description id="${row}[partID]" />
<description id="${row}[type]" /> <description id="${row}[type]" />
<description id="${row}[winmailFlag]" /> <description id="${row}[winmailFlag]" />
<description class="et2_link" id="${row}[filename]" no_lang="1" onclick="app.mail.displayAttachment"/> <description class="et2_link useEllipsis" id="${row}[filename]" no_lang="1" onclick="app.mail.displayAttachment"/>
<description align="right" id="${row}[size]" /> <description align="right" id="${row}[size]" />
<buttononly id="${row}[save]" image="fileexport" onclick="app.mail.saveAttachment"/> <buttononly id="${row}[save]" image="fileexport" onclick="app.mail.saveAttachment"/>
<buttononly id="${row}[saveAsVFS]" image="filemanager/navbar" onclick="app.mail.saveAttachmentToVFS"/> <buttononly id="${row}[saveAsVFS]" image="filemanager/navbar" onclick="app.mail.saveAttachmentToVFS"/>

View File

@ -176,7 +176,6 @@ A.sieveRowInActive {
} }
table tr.attachmentRow > td { table tr.attachmentRow > td {
padding: 0 !important; padding: 0 !important;
max-width: 0px;
} }
table tr.attachmentRow > td > img { table tr.attachmentRow > td > img {
background: transparent; background: transparent;
@ -285,6 +284,7 @@ pre {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
word-wrap: break-word; word-wrap: break-word;
max-width: 0px;
} }
#mail-index { #mail-index {
position: relative; position: relative;