[PATCH] hgweb: wrap long lines in file source
Alexander Plavin
me at aplavin.ru
Wed Jun 26 03:44:35 CDT 2013
# HG changeset patch
# User Alexander Plavin <me at aplavin.ru>
# Date 1372236081 -14400
# Wed Jun 26 12:41:21 2013 +0400
# Node ID 0de0cddeac5c624189ab8783de38d0a8b943d113
# Parent f21a44fe66da3d66313b71015947456f5a3789cd
hgweb: wrap long lines in file source
diff -r f21a44fe66da -r 0de0cddeac5c mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css Tue Jun 25 21:02:22 2013 +0400
+++ b/mercurial/templates/static/style-paper.css Wed Jun 26 12:41:21 2013 +0400
@@ -200,8 +200,8 @@
.source, .sourcefirst, .sourcelast {
font-family: monospace;
- white-space: pre;
padding: 1px 4px;
+ white-space: pre-wrap;
font-size: 90%;
}
.sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
More information about the Mercurial-devel
mailing list