Commit 498a9ce3d2744d9af7811f2b1d8bef8aeeb78eaf
1 parent
a2501d15
Exists in
master
and in
4 other branches
more space for months names in network graph
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
app/assets/javascripts/branch-graph.js.coffee
@@ -62,13 +62,13 @@ class BranchGraph | @@ -62,13 +62,13 @@ class BranchGraph | ||
62 | cuday = 0 | 62 | cuday = 0 |
63 | cumonth = "" | 63 | cumonth = "" |
64 | 64 | ||
65 | - r.rect(0, 0, 30, @barHeight).attr fill: "#222" | ||
66 | - r.rect(30, 0, 25, @barHeight).attr fill: "#444" | 65 | + r.rect(0, 0, 40, @barHeight).attr fill: "#222" |
66 | + r.rect(40, 0, 30, @barHeight).attr fill: "#444" | ||
67 | 67 | ||
68 | for day, mm in @days | 68 | for day, mm in @days |
69 | if cuday isnt day[0] | 69 | if cuday isnt day[0] |
70 | # Dates | 70 | # Dates |
71 | - r.text(40, @offsetY + @unitTime * mm, day[0]) | 71 | + r.text(55, @offsetY + @unitTime * mm, day[0]) |
72 | .attr( | 72 | .attr( |
73 | font: "12px Monaco, monospace" | 73 | font: "12px Monaco, monospace" |
74 | fill: "#BBB" | 74 | fill: "#BBB" |
@@ -77,7 +77,7 @@ class BranchGraph | @@ -77,7 +77,7 @@ class BranchGraph | ||
77 | 77 | ||
78 | if cumonth isnt day[1] | 78 | if cumonth isnt day[1] |
79 | # Months | 79 | # Months |
80 | - r.text(13, @offsetY + @unitTime * mm, day[1]) | 80 | + r.text(20, @offsetY + @unitTime * mm, day[1]) |
81 | .attr( | 81 | .attr( |
82 | font: "12px Monaco, monospace" | 82 | font: "12px Monaco, monospace" |
83 | fill: "#EEE" | 83 | fill: "#EEE" |