# 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 --git a/templates/header.tmpl b/templates/header.tmpl --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -8,7 +8,8 @@ Content-type: text/html 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 --git a/templates/map b/templates/map --- a/templates/map +++ b/templates/map @@ -17,7 +17,7 @@ filerevision = filerevision.tmpl 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#"