changeset 1336:8c094fb47b59

hgweb file: fixed left-justified line numbers on IE v6.0 IE (v6.0) seemed to squash the spaces surrounding the line numbers, making them appeared as left- instead of being right-justified. Testing with IE v6.0 and Firefox 1.0.6.
author TK Soh <teekaysoh@yahoo.com>
date Fri, 23 Sep 2005 17:19:35 -0700
parents bea6356b8bca
children d4b25df77a9e
files templates/header.tmpl templates/map
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/templates/header.tmpl	Fri Sep 23 17:15:36 2005 -0700
+++ b/templates/header.tmpl	Fri Sep 23 17:19:35 2005 -0700
@@ -8,7 +8,8 @@
 a { text-decoration:none; }
 .parity0 { background-color: #dddddd; }
 .parity1 { background-color: #eeeeee; }
-.lineno { width: 60px; color: #aaaaaa; font-size: smaller; }
+.lineno { width: 60px; color: #aaaaaa; font-size: smaller; 
+          text-align: right; padding-right:1em; }
 .plusline { color: green; }
 .minusline { color: red; }
 .atline { color: purple; }
--- a/templates/map	Fri Sep 23 17:15:36 2005 -0700
+++ b/templates/map	Fri Sep 23 17:19:35 2005 -0700
@@ -17,7 +17,7 @@
 fileannotate = fileannotate.tmpl
 filediff = filediff.tmpl
 filelog = filelog.tmpl
-fileline = "<div class="parity#parity#"><span class="lineno">#linenumber# </span>#line|escape#</div>"
+fileline = "<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>"
 filelogentry = filelogentry.tmpl
 annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>"
 difflineplus = "<span class="plusline">#line|escape#</span>"