Commits

Nozomu Kaneko committed b31dc98

fix graph style with long commit message

Comments (0)

Files changed (1)

 # Date 1318377579 -32400
 # Branch mq
 # Node ID 1307bc05a903f36981356ced78488579e1502a42
-# Parent  ba105c8fde459a801ad91cb4fa6a1ba2dbdcf7e9
+# Parent 819eea6319f623b8a3992efbcb7818d173f6a0a3
 customize graph style
 
 diff --git a/mercurial/graphmod.py b/mercurial/graphmod.py
 diff --git a/mercurial/templates/monoblue/graph.tmpl b/mercurial/templates/monoblue/graph.tmpl
 --- a/mercurial/templates/monoblue/graph.tmpl
 +++ b/mercurial/templates/monoblue/graph.tmpl
+@@ -61,7 +61,7 @@
+ 
+     var revlink = '<li style="_STYLE"><span class="desc">';
+     revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
+-    revlink += '</span>_TAGS<span class="info">_DATE, by _USER</span></li>';
++    revlink += '</span><div><span class="info">_DATE, by _USER</span>_TAGS</div></li>';
+ 
+     graph.vertex = function(x, y, color, parity, cur) \{
+ 
 @@ -71,7 +71,7 @@
          this.ctx.fill();
  
  }
  
  ul#nodebgs {
-@@ -472,8 +480,20 @@
+@@ -472,8 +480,17 @@
  	height: 39px;
  }
  
 +ul#graphnodes li .desc {
-+	float: left;
 +	white-space: nowrap;
 +}
 +
 +}
 +
  ul#graphnodes li .info {
-+	clear: both;
- 	display: block;
- 	position: relative;
+-	display: block;
+-	position: relative;
++	float: left;
  }
 +
  /** end of canvas **/