Try harder to display node hashes in tags view in monospaced font.
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 26 Apr 2006 07:03:10 +0200
changeset 2131 f5bbc5562434
parent 2130 90ee844b9f71
child 2132 4990b62fd0a6
Try harder to display node hashes in tags view in monospaced font. Used to work around Firefox's behaviour if "Allow pages to choose their own fonts" is disabled.
templates/map
templates/static/style.css
--- a/templates/map	Wed Apr 26 06:12:42 2006 +0200
+++ b/templates/map	Wed Apr 26 07:03:10 2006 +0200
@@ -35,7 +35,7 @@
 filerevchild = '<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
 tags = tags.tmpl
-tagentry = '<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag|escape#</a></li>'
+tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="?cs=#node|short#">#tag|escape#</a></li>'
 diffblock = '<pre class="parity#parity#">#lines#</pre>'
 changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
 changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
--- a/templates/static/style.css	Wed Apr 26 06:12:42 2006 +0200
+++ b/templates/static/style.css	Wed Apr 26 07:03:10 2006 +0200
@@ -58,7 +58,6 @@
 /* Tag entries */
 #tagEntries { list-style: none; margin: 0; padding: 0; }
 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
-#tagEntries .tagEntry span.node { font-family: monospace; }
 
 /* Changeset entry */
 #changesetEntry { }