diff tests/test-hgweb.t @ 31630:c208bc65318a

gitweb: use monospace font for commit messages Commit messages often contain vertically aligned text. The default paper style already uses monospace fonts for rendering commit messages. And, AFAICT, a number of Git servers also render commit messages with monospace. It seems like the reasonable thing to do. This commit converts all instances of the full commit message in the gitweb style to render with monospace.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 24 Mar 2017 19:52:43 -0700
parents eb7de21b15be
children eaf3819631c2
line wrap: on
line diff
--- a/tests/test-hgweb.t	Fri Mar 24 22:40:08 2017 -0400
+++ b/tests/test-hgweb.t	Fri Mar 24 19:52:43 2017 -0700
@@ -337,7 +337,7 @@
 
   $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
   200 Script output follows
-  content-length: 6986
+  content-length: 7032
   content-type: text/css
   
   body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
@@ -487,6 +487,10 @@
   	background-color: #bfdfff;
   }
   
+  .description {
+      font-family: monospace;
+  }
+  
   /* Graph */
   div#wrapper {
   	position: relative;