unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] view: use <hr> to delineate in /$MID/T/ view
@ 2016-08-05 18:14 Eric Wong
  2016-08-06  0:30 ` [PATCH 2/1] view: do not introduce excessive </pre> in $MID/t/ view Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2016-08-05 18:14 UTC (permalink / raw)
  To: meta; +Cc: Jeff King

The sacrifice in vertical space might be worth it to improve
ease-of-reading, as it's unreasonable to expect an entire
message thread to be able to fit into a single window.

https://public-inbox.org/git/20160805093544.scvl4yshkfg2l26p@sigill.intra.peff.net/

Cc: Jeff King <peff@peff.net>
---
 lib/PublicInbox/View.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index db0cdc0..e150a01 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -180,7 +180,7 @@ sub index_entry {
 		$rv .= " <a\nhref=#r$id>$ctx->{s_nr}</a>";
 	}
 
-	$rv .= $more ? "\n\n" : "\n";
+	$rv .= $more ? '</pre><hr><pre>' : '</pre>';
 }
 
 sub pad_link ($$;$) {
-- 
EW


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-06 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 18:14 [PATCH] view: use <hr> to delineate in /$MID/T/ view Eric Wong
2016-08-06  0:30 ` [PATCH 2/1] view: do not introduce excessive </pre> in $MID/t/ view Eric Wong
2016-08-06 21:09   ` [PATCH] www: use <hr> to delimit messages in /new.html view, too Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).