Commit 561a0e3a4a53030ef465c1ce729aba2e5def9964
Committed by
GitLab
1 parent
639b0a87
Exists in
master
and in
4 other branches
Fix not showing tooltip on network graph
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
vendor/assets/javascripts/branch-graph.js
| @@ -65,15 +65,15 @@ | @@ -65,15 +65,15 @@ | ||
| 65 | 65 | ||
| 66 | BranchGraph.prototype.buildGraph = function(){ | 66 | BranchGraph.prototype.buildGraph = function(){ |
| 67 | var graphWidth = $(this.element).width() | 67 | var graphWidth = $(this.element).width() |
| 68 | - , ch = this.mspace * 20 + 20 | ||
| 69 | - , cw = Math.max(graphWidth, this.mtime * 20 + 20) | 68 | + , ch = this.mspace * 20 + 100 |
| 69 | + , cw = Math.max(graphWidth, this.mtime * 20 + 260) | ||
| 70 | , r = Raphael(this.element.get(0), cw, ch) | 70 | , r = Raphael(this.element.get(0), cw, ch) |
| 71 | , top = r.set() | 71 | , top = r.set() |
| 72 | , cuday = 0 | 72 | , cuday = 0 |
| 73 | , cumonth = "" | 73 | , cumonth = "" |
| 74 | , offsetX = 20 | 74 | , offsetX = 20 |
| 75 | , offsetY = 60 | 75 | , offsetY = 60 |
| 76 | - , barWidth = Math.max(graphWidth, this.dayCount * 20 + 80); | 76 | + , barWidth = Math.max(graphWidth, this.dayCount * 20 + 320); |
| 77 | 77 | ||
| 78 | this.raphael = r; | 78 | this.raphael = r; |
| 79 | 79 |