mirror of
https://github.com/status-im/burnchart.git
synced 2025-02-03 06:13:40 +00:00
closes #59
This commit is contained in:
parent
77accc3590
commit
498bab9216
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "burnchart",
|
||||
"version": "2.0.6",
|
||||
"version": "2.0.7",
|
||||
"description": "GitHub Burndown Chart as a Service",
|
||||
"author": "Radek Stepan <dev@radekstepan.com> (http://radekstepan.com)",
|
||||
"license": "AGPL-3.0",
|
||||
|
2
public/css/app.bundle.min.css
vendored
2
public/css/app.bundle.min.css
vendored
File diff suppressed because one or more lines are too long
2
public/js/app.bundle.min.js
vendored
2
public/js/app.bundle.min.js
vendored
File diff suppressed because one or more lines are too long
@ -237,7 +237,7 @@ ul {
|
||||
padding-bottom: 80px;
|
||||
|
||||
#content {
|
||||
padding: 20px;
|
||||
padding: 20px 0;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 40px;
|
||||
|
||||
|
@ -18,7 +18,6 @@ module.exports = Ractive.extend
|
||||
# Total number of points in the milestone.
|
||||
total = issues.open.size + issues.closed.size
|
||||
|
||||
|
||||
# An issue may have been closed before the start of a milestone.
|
||||
head = issues.closed.list[0].closed_at
|
||||
if issues.length and milestone.created_at > head
|
||||
@ -66,6 +65,16 @@ module.exports = Ractive.extend
|
||||
.append("g")
|
||||
.attr("transform", "translate(" + margin.left + "," + margin.top + ")")
|
||||
|
||||
# Add the clip path so that lines are not drawn outside of the boundary.
|
||||
svg.append("defs").append("svg:clipPath")
|
||||
.attr("id", "clip")
|
||||
.append("svg:rect")
|
||||
.attr("id", "clip-rect")
|
||||
.attr("x", 0)
|
||||
.attr("y", 0)
|
||||
.attr("width", width)
|
||||
.attr("height", height)
|
||||
|
||||
# Add the days x-axis.
|
||||
svg.append("g")
|
||||
.attr("class", "x axis day")
|
||||
|
Loading…
x
Reference in New Issue
Block a user