Patchwork [V4,stable] css: fixed font-family

login
register
mail settings
Submitter Alexander Plavin
Date April 20, 2013, 6:11 p.m.
Message ID <e96cbb289d1061dd2514.1366481505@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1467/
State Accepted, archived
Headers show

Comments

Alexander Plavin - April 20, 2013, 6:11 p.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1366481357 -14400
#      Sat Apr 20 22:09:17 2013 +0400
# Branch stable
# Node ID e96cbb289d1061dd2514a7b620e8e328e2ec703e
# Parent  4ab185997587bb838aaacc86e17781c1a930d7bf
css: fixed font-family

There is no 'sans' font-family, replaced with 'sans-serif'

Patch

diff -r 4ab185997587 -r e96cbb289d10 mercurial/templates/static/style.css
--- a/mercurial/templates/static/style.css	Fri Apr 19 22:39:51 2013 +0400
+++ b/mercurial/templates/static/style.css	Sat Apr 20 22:09:17 2013 +0400
@@ -14,13 +14,13 @@ 
   background-color: #666;
   padding: 2pt;
   color: white;
-  font-family: sans;
+  font-family: sans-serif;
   font-weight: bold;
 }
 .navigate a {
   background-color: #ccc;
   padding: 2pt;
-  font-family: sans;
+  font-family: sans-serif;
   color: black;
 }
 
diff -r 4ab185997587 -r e96cbb289d10 tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t	Fri Apr 19 22:39:51 2013 +0400
+++ b/tests/test-hgweb-commands.t	Sat Apr 20 22:09:17 2013 +0400
@@ -1179,13 +1179,13 @@ 
     background-color: #666;
     padding: 2pt;
     color: white;
-    font-family: sans;
+    font-family: sans-serif;
     font-weight: bold;
   }
   .navigate a {
     background-color: #ccc;
     padding: 2pt;
-    font-family: sans;
+    font-family: sans-serif;
     color: black;
   }