]> git.donarmstrong.com Git - debbugs.git/commitdiff
forcibly wrap msgreceived
authorDon Armstrong <don@donarmstrong.com>
Sat, 1 Jul 2017 23:15:24 +0000 (16:15 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 1 Jul 2017 23:16:19 +0000 (16:16 -0700)
Debbugs/CGI/Bugreport.pm
html/bugs.css

index c1d0aaf13558447695c7250ae22b14c37798db22..1c0a40dd035c9f55a2351772bd93d0a4b863ad66 100644 (file)
@@ -44,6 +44,7 @@ use POSIX qw(strftime);
 use Encode qw(decode_utf8 encode_utf8);
 use URI::Escape qw(uri_escape_utf8);
 use Scalar::Util qw(blessed);
+use List::Util qw(sum0);
 use File::Temp;
 
 BEGIN{
@@ -414,7 +415,7 @@ sub handle_record{
          if (defined $time) {
               $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') ';
          }
-         $output .= '<a href="' .
+         $output .= '</p><p><a href="' .
               html_escape(bug_links(bug => $bug_number,
                                     options => {msg => ($msg_number+1)},
                                     links_only => 1,
@@ -426,7 +427,7 @@ sub handle_record{
                                                     links_only => 1)
                                          ) . '">rfc822 format</a> available.';
 
-         $output = qq(<div class="$class"><hr>\n<a name="$msg_number"></a>\n) . $output . "</div>\n";
+         $output = qq(<div class="$class"><hr><p>\n<a name="$msg_number"></a>\n) . $output . "</p></div>\n";
      }
      elsif (/recips/) {
          my ($msg_id) = record_regex($record,qr/^Message-Id:\s+<(.+)>/i);
index 2b3ac579a4ad4690a17c900c817949f65ad11b34..1fb01986dae2e2565acb8571555cb896204cb5a0 100644 (file)
@@ -186,6 +186,18 @@ pre.mime {
     color: #686868;
 }
 
+.msgreceived p {
+    width: 120ch;
+    margin-top: 0px;
+    margin-bottom: 0px;
+}
+
+p.msgreceived {
+    width: 120ch;
+    margin-top: 0px;
+    margin-bottom: 0px;
+}
+
 .buginfo p
 { 
   font-family: sans-serif;