Adjust mail preview header part according to its content

This commit is contained in:
Hadi Nategh 2014-10-22 11:52:57 +00:00
parent 61fe25a190
commit 1a82544ec0
4 changed files with 19 additions and 7 deletions

View File

@ -502,6 +502,12 @@ div.mail-compose_fileselector {
left: 3px;
right: 0;
}
#mail-index_mailPreviewContainer.previewNoAttachment {
top: 51px;
}
#mail-index_mailPreviewContainer.previewNoAttachmentButCC{
top: 67px;
}
#mail-index_previewAttachmentArea {
background-color:#f0f0f0;
max-height: 1.6em;

View File

@ -109,9 +109,9 @@
<buttononly class="et2_button ui-button" label="Show all attachments" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
</hbox>
<toolbar id="toolbar" class="mailPreviewIcons"/>
<box id="mailPreviewContainer">
<iframe frameborder="1" id="messageIFRAME" scrolling="auto"/>
</box>
<box id="mailPreviewContainer">
<iframe frameborder="1" id="messageIFRAME" scrolling="auto"/>
</box>
</vbox>
</split>
<iframe frameborder="1" height="100%" id="extra_iframe" scrolling="auto" width="100%" disabled="true"/>

View File

@ -502,6 +502,12 @@ div.mail-compose_fileselector {
left: 3px;
right: 0;
}
#mail-index_mailPreviewContainer.previewNoAttachment {
top: 51px;
}
#mail-index_mailPreviewContainer.previewNoAttachmentButCC {
top: 67px;
}
#mail-index_previewAttachmentArea {
background-color: #f0f0f0;
max-height: 1.6em;
@ -840,7 +846,7 @@ div#mail-index div#mail-index_mailPreview div#mail-index_mailPreviewHeadersTo {
div#mail-index div#mail-index_mailPreview div#mail-index_mailPreviewHeadersDate {
position: absolute;
right: 0px;
margin: 25px 5px 0 0;
margin: 3px 5px 0 0;
}
div#mail-index div#mail-index_mailPreview div#mail-index_mailPreviewHeadersSubject {
width: 58%;
@ -2299,7 +2305,7 @@ input[type=button] {
#mail-index_mailPreviewContainer {
position: absolute;
border: 1px solid .color_10_gray;
top: 97px;
top: 113px;
bottom: 0;
left: 3px;
right: 0;

View File

@ -175,7 +175,7 @@ div#mail-index{
div#mail-index_mailPreviewHeadersDate{
position: absolute;
right: 0px;
margin: 25px 5px 0 0;
margin: 3px 5px 0 0;
}
// Subject
@ -1568,7 +1568,7 @@ input[type=button] {
#mail-index_mailPreviewContainer {
position: absolute;
border: 1px solid .color_10_gray;
top: 97px;
top: 113px;
bottom: 0;
left: 3px;
right: 0;