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

login
register
mail settings
Submitter Alexander Plavin
Date July 4, 2013, 10:36 a.m.
Message ID <4d90a3b8abbb3898e2c6.1372934189@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1791/
State Superseded, archived
Headers show

Comments

Alexander Plavin - July 4, 2013, 10:36 a.m.
# HG changeset patch
# User Alexander Plavin <me@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

Patch

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;
 }