[PATCH 2 of 3 RFC V4] hgweb: wrap lines in file source view

Alexander Plavin me at aplavin.ru
Thu Jul 4 05:36:29 CDT 2013


# HG changeset patch
# User Alexander Plavin <me at aplavin.ru>
# Date 1372933153 -14400
#      Thu Jul 04 14:19:13 2013 +0400
# Node ID 4d90a3b8abbb3898e2c6f6f1c27d0306b6b37f64
# Parent  a1de30293d0e140b14e9d8ed5f2e7540907a81b1
hgweb: wrap lines in file source view

diff -r a1de30293d0e -r 4d90a3b8abbb 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;
 }
 


More information about the Mercurial-devel mailing list