From d0bf16ab52c1406898490966ad28ad7175142f1c Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 1 Jul 2017 16:15:24 -0700 Subject: [PATCH] forcibly wrap msgreceived --- Debbugs/CGI/Bugreport.pm | 5 +++-- html/bugs.css | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index c1d0aaf..1c0a40d 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -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 .= ' $bug_number, options => {msg => ($msg_number+1)}, links_only => 1, @@ -426,7 +427,7 @@ sub handle_record{ links_only => 1) ) . '">rfc822 format available.'; - $output = qq(

\n\n) . $output . "
\n"; + $output = qq(

\n\n) . $output . "

\n"; } elsif (/recips/) { my ($msg_id) = record_regex($record,qr/^Message-Id:\s+<(.+)>/i); diff --git a/html/bugs.css b/html/bugs.css index 2b3ac57..1fb0198 100644 --- a/html/bugs.css +++ b/html/bugs.css @@ -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; -- 2.39.2