# HG changeset patch # User Paul Boddie # Date 1288541909 -3600 # Node ID 04780c5010317c5bbfd4561a70c7893cf0b93265 # Parent 32595dbcb16b723202b132fca3a9fbb80d54087b Made use of a proper canvas height variable and tidied up the CSS styling in order to make the table line up correctly with the graph. Removed various columns in order to tidy up the display. diff -r 32595dbcb16b -r 04780c501031 themes/mercurialweb/graph.tmpl --- a/themes/mercurialweb/graph.tmpl Sun Oct 31 16:55:46 2010 +0100 +++ b/themes/mercurialweb/graph.tmpl Sun Oct 31 17:18:29 2010 +0100 @@ -32,13 +32,13 @@
{changenav%graphpagerlink}
- +
{svgdata%graphlabel}
+ style="width:{canvaswidth}px; height:{truecanvasheight}px; position:absolute; top:0; left:0; z-index:-1;"> {svgdata%graphnode} diff -r 32595dbcb16b -r 04780c501031 themes/mercurialweb/graphlabel.tmpl --- a/themes/mercurialweb/graphlabel.tmpl Sun Oct 31 16:55:46 2010 +0100 +++ b/themes/mercurialweb/graphlabel.tmpl Sun Oct 31 17:18:29 2010 +0100 @@ -1,7 +1,5 @@ -
+
{age} - {user} - {desc|strip|firstline|escape} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}
diff -r 32595dbcb16b -r 04780c501031 themes/mercurialweb/static/style-mercurialweb.css --- a/themes/mercurialweb/static/style-mercurialweb.css Sun Oct 31 16:55:46 2010 +0100 +++ b/themes/mercurialweb/static/style-mercurialweb.css Sun Oct 31 17:18:29 2010 +0100 @@ -428,8 +428,10 @@ } table.graph { + width: 100%; margin: 0; padding: 0; + border: 0; border-collapse: collapse; }