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

login
register
mail settings
Submitter Alexander Plavin
Date July 8, 2013, 9:19 p.m.
Message ID <7908d81b57ca91db7378.1373318398@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1806/
State Accepted
Commit 7f0a307443661f36fcfd3c41b6ca67e976329333
Headers show

Comments

Alexander Plavin - July 8, 2013, 9:19 p.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1372933153 -14400
#      Thu Jul 04 14:19:13 2013 +0400
# Node ID 7908d81b57ca91db73789e0d9905797f5e530f23
# Parent  8d356cd3f5424b9d880111ec12621944df20f5c6
hgweb: wrap lines in file source view

Patch

diff -r 8d356cd3f542 -r 7908d81b57ca 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;
 }