Commit 4a17b833 authored by Mike Greiling's avatar Mike Greiling

add header to burndown chart and adjust chart size breakpoints

parent d1190d62
...@@ -253,17 +253,26 @@ $burndown-chart-legend-stroke: #e5e5e5; ...@@ -253,17 +253,26 @@ $burndown-chart-legend-stroke: #e5e5e5;
$burndown-chart-axis-label-color: #5c5c5c; $burndown-chart-axis-label-color: #5c5c5c;
$burndown-chart-axis-label-stroke: #e5e5e5; $burndown-chart-axis-label-stroke: #e5e5e5;
.burndown-header {
margin: 24px 0 12px;
h3 {
font-size: 16px;
margin: 0;
}
}
.burndown-chart { .burndown-chart {
width: 100%; width: 100%;
height: 400px; height: 380px;
margin-top: 30px; margin: 5px 0;
@media (max-width: $screen-sm-max) { @media (max-width: $screen-sm-max) {
height: 320px; height: 320px;
} }
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
height: 220px; height: 200px;
} }
.axis { .axis {
......
...@@ -22,4 +22,7 @@ ...@@ -22,4 +22,7 @@
= link_to "Add start and due date", edit_namespace_project_milestone_path(project.namespace, project, milestone), class: 'btn' = link_to "Add start and due date", edit_namespace_project_milestone_path(project.namespace, project, milestone), class: 'btn'
- if can_generate_chart - if can_generate_chart
.burndown-header
%h3
Open issues
.burndown-chart .burndown-chart
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment