From 94da970764ffd75c67dfdebcd98d0a6dc3dce05a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 30 Oct 2009 16:51:45 -0600 Subject: [PATCH] Doh. Remembered why I had a DIV inside of a DIV. Need the outer DIV as a block element so adjacent mimePartInfo blocks do not display on the same line. --- imp/lib/UI/Message.php | 2 +- imp/themes/ie6_or_less.css | 2 +- imp/themes/ie7.css | 2 +- imp/themes/screen.css | 7 +++++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/imp/lib/UI/Message.php b/imp/lib/UI/Message.php index 6223c0f40..867935ec9 100644 --- a/imp/lib/UI/Message.php +++ b/imp/lib/UI/Message.php @@ -422,7 +422,7 @@ class IMP_UI_Message foreach ($display as $val) { $tmp_summary[] = $summary[$val]; } - return '
' . implode(' ', $tmp_summary) . '
'; + return '
' . implode(' ', $tmp_summary) . '
'; } /** diff --git a/imp/themes/ie6_or_less.css b/imp/themes/ie6_or_less.css index 86af15f36..cab69dacb 100644 --- a/imp/themes/ie6_or_less.css +++ b/imp/themes/ie6_or_less.css @@ -3,7 +3,7 @@ */ /* Fixes broken inline-block. */ -div.msgflags, span.spellcheckPopdownImg, span.treeImg, .downloadAtc, .downloadZipAtc, .saveImgAtc, .deleteImg, div.mimePartInfo, .mimeStatusMessage { +div.msgflags, span.spellcheckPopdownImg, span.treeImg, .downloadAtc, .downloadZipAtc, .saveImgAtc, .deleteImg, .mimePartInfo div, .mimeStatusMessage { zoom: 1; *display: inline; } diff --git a/imp/themes/ie7.css b/imp/themes/ie7.css index b66aa5bdd..93d292398 100644 --- a/imp/themes/ie7.css +++ b/imp/themes/ie7.css @@ -3,7 +3,7 @@ */ /* Fixes broken inline-block. */ -div.msgflags, span.spellcheckPopdownImg, span.treeImg, .downloadAtc, .downloadZipAtc, .saveImgAtc, .deleteImg, div.mimePartInfo, .mimeStatusMessage { +div.msgflags, span.spellcheckPopdownImg, span.treeImg, .downloadAtc, .downloadZipAtc, .saveImgAtc, .deleteImg, .mimePartInfo div, .mimeStatusMessage { zoom: 1; *display: inline; } diff --git a/imp/themes/screen.css b/imp/themes/screen.css index 5df9342b4..ad5afbc21 100644 --- a/imp/themes/screen.css +++ b/imp/themes/screen.css @@ -541,16 +541,19 @@ td.addressTr span.loadingImg { width: auto; } div.mimePartInfo { + margin-bottom: 5px; +} +.mimePartInfo div { background: #efefef; border: 1px solid #ccc; font-size: 90%; - margin-bottom: 3px; + margin: 0; padding: 5px; /* For FF2 */ display: table-cell; display: inline-block; } -div.mimePartInfo img { +.mimePartInfo div img { vertical-align: bottom; } -- 2.11.0