mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Merge pull request #1131 from alphagov/fix-template-graph-width
Make template usage graph take up 100% of width
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
margin-bottom: $gutter-half;
|
margin-bottom: $gutter-half;
|
||||||
height: $gutter-half;
|
height: $gutter-half;
|
||||||
color: $text-colour;
|
color: $text-colour;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% call field() %}
|
{% call field(align='right') %}
|
||||||
{% if template_statistics|length > 1 %}
|
{% if template_statistics|length > 1 %}
|
||||||
<span id='{{item.template_id}}' class="spark-bar">
|
<span id='{{item.template_id}}' class="spark-bar">
|
||||||
<span style="width: {{ item.count / most_used_template_count * 100 }}%">
|
<span style="width: {{ item.count / most_used_template_count * 100 }}%">
|
||||||
|
|||||||
Reference in New Issue
Block a user