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; left: 3px;
right: 0; right: 0;
} }
#mail-index_mailPreviewContainer.previewNoAttachment {
top: 51px;
}
#mail-index_mailPreviewContainer.previewNoAttachmentButCC{
top: 67px;
}
#mail-index_previewAttachmentArea { #mail-index_previewAttachmentArea {
background-color:#f0f0f0; background-color:#f0f0f0;
max-height: 1.6em; max-height: 1.6em;

View File

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

View File

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