From patchwork Fri Jul 5 18:20:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,3,V6] hgweb: wrap lines in file source view From: Alexander Plavin X-Patchwork-Id: 1799 Message-Id: <210168487f7a5bcd6952.1373048420@debian-alexander.dolgopa> To: mercurial-devel@selenic.com Cc: raf@durin42.comangel.ezquerra, ""@gmail.com Date: Fri, 05 Jul 2013 22:20:20 +0400 # HG changeset patch # User Alexander Plavin # Date 1372933153 -14400 # Thu Jul 04 14:19:13 2013 +0400 # Node ID 210168487f7a5bcd6952a3647232ec607f5f671a # Parent dd7a098f0093dc28d025064bba4407acc53a90e5 hgweb: wrap lines in file source view diff -r dd7a098f0093 -r 210168487f7a mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css Thu Jul 04 14:18:44 2013 +0400 +++ b/mercurial/templates/static/style-paper.css Thu Jul 04 14:19:13 2013 +0400 @@ -218,6 +218,7 @@ display: inline-block; width: 100%; padding: 1px 0px; + white-space: pre-wrap; counter-increment: lineno; }