浏览代码

add style to the hr entity separator

Thijs Kinkhorst 17 年之前
父节点
当前提交
14f93d0dcb
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 1 1
      src/read_body.php
  2. 6 0
      templates/default/css/default.css

+ 1 - 1
src/read_body.php

@@ -961,7 +961,7 @@ $cnt = count($ent_ar);
 for ($i = 0; $i < $cnt; $i++) {
    $messagebody .= formatBody($imapConnection, $message, $color, $wrap_at, $ent_ar[$i], $passed_id, $mailbox);
    if ($i != $cnt-1) {
-       $messagebody .= '<hr />';
+       $messagebody .= '<hr class="entity_sep" />';
    }
 }
 

+ 6 - 0
templates/default/css/default.css

@@ -1095,3 +1095,9 @@ div.viewText td.spacer {
 #toggle_to, #toggle_cc {
     font-size: smaller;
 }
+
+hr.entity_sep {
+    border: 0;
+    height: 1px;
+    background-color: gray;
+}