Merge pull request #1131 from alphagov/fix-template-graph-width

Make template usage graph take up 100% of width
This commit is contained in:
Chris Hill-Scott
2017-02-15 13:46:50 +00:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
margin-bottom: $gutter-half;
height: $gutter-half;
color: $text-colour;
text-align: left;
span {
box-sizing: border-box;

View File

@@ -24,7 +24,7 @@
</span>
</span>
{% endcall %}
{% call field() %}
{% call field(align='right') %}
{% if template_statistics|length > 1 %}
<span id='{{item.template_id}}' class="spark-bar">
<span style="width: {{ item.count / most_used_template_count * 100 }}%">