diff mercurial/templates/static/style-gitweb.css @ 33557:875b054e5b95

gitweb: preserve whitespace in description Without this, multiple spaces or tabs in the commit message aren't preserved and things like tables don't align properly. As part of adding the CSS rule, we had to cuddle the content with the <div> to not introduce leading and trailing whitespace. The "addbreaks" filter was also removed because it would insert an additional newline, effectively double spacing content. Differential Revision: https://phab.mercurial-scm.org/D113
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 17 Jul 2017 15:54:15 -0700
parents 32331f54930c
children 6797f1fbc642
line wrap: on
line diff
--- a/mercurial/templates/static/style-gitweb.css	Mon Jul 17 11:45:38 2017 -0700
+++ b/mercurial/templates/static/style-gitweb.css	Mon Jul 17 15:54:15 2017 -0700
@@ -175,6 +175,7 @@
 
 .description {
     font-family: monospace;
+    white-space: pre;
 }
 
 /* Followlines */