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 | 62 | cuday = 0 |
| 63 | 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 | 68 | for day, mm in @days |
| 69 | 69 | if cuday isnt day[0] |
| 70 | 70 | # Dates |
| 71 | - r.text(40, @offsetY + @unitTime * mm, day[0]) | |
| 71 | + r.text(55, @offsetY + @unitTime * mm, day[0]) | |
| 72 | 72 | .attr( |
| 73 | 73 | font: "12px Monaco, monospace" |
| 74 | 74 | fill: "#BBB" |
| ... | ... | @@ -77,7 +77,7 @@ class BranchGraph |
| 77 | 77 | |
| 78 | 78 | if cumonth isnt day[1] |
| 79 | 79 | # Months |
| 80 | - r.text(13, @offsetY + @unitTime * mm, day[1]) | |
| 80 | + r.text(20, @offsetY + @unitTime * mm, day[1]) | |
| 81 | 81 | .attr( |
| 82 | 82 | font: "12px Monaco, monospace" |
| 83 | 83 | fill: "#EEE" | ... | ... |