diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -1903,7 +1903,7 @@ h3.files_location { #graph_nodes { float: left; margin-right: -6px; - margin-top: -4px; + margin-top: 0px; } #graph_content { diff --git a/rhodecode/public/js/graph.js b/rhodecode/public/js/graph.js --- a/rhodecode/public/js/graph.js +++ b/rhodecode/public/js/graph.js @@ -100,7 +100,7 @@ function BranchRenderer() { this.setColor(color, 0.0, 0.65); - y = row.offsetTop-rela.offsetTop+4; + y = row.offsetTop-rela.offsetTop; x = pad-((this.cell[0] + this.box_size * start - 1) + this.bg_height-2); this.ctx.lineWidth=this.line_width; @@ -108,6 +108,7 @@ function BranchRenderer() { this.ctx.moveTo(x, y); y += row.offsetHeight; + x = pad-((1 + this.box_size * end) + this.bg_height-2); this.ctx.lineTo(x,y+extra,3); this.ctx.stroke(); @@ -117,7 +118,7 @@ function BranchRenderer() { color = node[1] radius = this.dot_radius; - y = row.offsetTop-rela.offsetTop+4; + y = row.offsetTop-rela.offsetTop; x = pad-(Math.round(this.cell[0] * scale/2 * column + radius) + 15 - (column*4)); this.ctx.beginPath();