# HG changeset patch # User TK Soh # Date 1127521175 25200 # Node ID 8c094fb47b59234088c549a9bcf8deb9316c0d7b # Parent bea6356b8bcabc6912afbd5b0353a3c2047d5d72 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. diff -r bea6356b8bca -r 8c094fb47b59 templates/header.tmpl --- 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; } diff -r bea6356b8bca -r 8c094fb47b59 templates/map --- 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 = "
#linenumber# #line|escape#
" +fileline = "
#linenumber##line|escape#
" filelogentry = filelogentry.tmpl annotateline = "#author|obfuscate#@#rev#
#line|escape#
" difflineplus = "#line|escape#"