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

login
register
mail settings
Submitter Alexander Plavin
Date July 5, 2013, 8:44 a.m.
Message ID <90a7c8def286e7d8c19c.1373013850@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1795/
State Superseded, archived
Headers show

Comments

Alexander Plavin - July 5, 2013, 8:44 a.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1372933153 -14400
#      Thu Jul 04 14:19:13 2013 +0400
# Node ID 90a7c8def286e7d8c19c0f8e09b439af591a40fa
# Parent  23cba2af6b5a4502d6aeb3672ef0fa5441bc3a18
hgweb: wrap lines in file source view

Patch

diff -r 23cba2af6b5a -r 90a7c8def286 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;
 }