hgweb: fixed IE display problem on changelog page
authorTK Soh <teekaysoh@yahoo.com>
Fri, 23 Sep 2005 17:15:10 -0700
changeset 1334 0843e1bf2b97
parent 1333 901c645c1943
child 1335 bea6356b8bca
hgweb: fixed IE display problem on changelog page IE (v6.0) didn't seemed to comply to the 15% width on the left column of changelog display. Tested with IE v6.0 and Firefox 1.0.6.
templates/changelogentry.tmpl
templates/header.tmpl
--- a/templates/changelogentry.tmpl	Fri Sep 23 17:08:45 2005 -0700
+++ b/templates/changelogentry.tmpl	Fri Sep 23 17:15:10 2005 -0700
@@ -1,6 +1,6 @@
 <table class="changelogEntry parity#parity#">
  <tr>
-  <th class="age">#date|age# ago:</th>
+  <th class="age" width="15%">#date|age# ago:</th>
   <th class="firstline">#desc|firstline|escape#</th>
  </tr>
  <tr>
@@ -21,4 +21,4 @@
   <th class="files"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:</th>
   <td class="files">#files#</td>
  </tr>
-</table>
\ No newline at end of file
+</table>
--- a/templates/header.tmpl	Fri Sep 23 17:08:45 2005 -0700
+++ b/templates/header.tmpl	Fri Sep 23 17:15:10 2005 -0700
@@ -32,7 +32,7 @@
 
 /* Changelog entries */
 .changelogEntry { width: 100%; }
-.changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;}
+.changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; }
 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
 .changelogEntry th.firstline { text-align: left; width: inherit; }