summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-01-26 00:52:11 +0900
committerGitLab <gitlab@hiroponz.net>2013-01-26 01:05:17 +0900
commit561a0e3a4a53030ef465c1ce729aba2e5def9964 (patch)
tree199de014cf5d14f48d8be28e3ae0e2bffab3718f /vendor
parent639b0a8715074a166eb9ef4252e4f2b5ae5e2c84 (diff)
downloadgitlab-ce-561a0e3a4a53030ef465c1ce729aba2e5def9964.tar.gz
Fix not showing tooltip on network graph
Diffstat (limited to 'vendor')
-rw-r--r--vendor/assets/javascripts/branch-graph.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js
index af3b572a4e3..93849c79e80 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -65,15 +65,15 @@
BranchGraph.prototype.buildGraph = function(){
var graphWidth = $(this.element).width()
- , ch = this.mspace * 20 + 20
- , cw = Math.max(graphWidth, this.mtime * 20 + 20)
+ , ch = this.mspace * 20 + 100
+ , cw = Math.max(graphWidth, this.mtime * 20 + 260)
, r = Raphael(this.element.get(0), cw, ch)
, top = r.set()
, cuday = 0
, cumonth = ""
, offsetX = 20
, offsetY = 60
- , barWidth = Math.max(graphWidth, this.dayCount * 20 + 80);
+ , barWidth = Math.max(graphWidth, this.dayCount * 20 + 320);
this.raphael = r;