Tighten up spacing around download link

This commit is contained in:
Chris Hill-Scott
2016-08-02 16:43:47 +01:00
parent e621dddd6d
commit 940815b33c
3 changed files with 7 additions and 3 deletions

View File

@@ -31,6 +31,10 @@
margin-bottom: $gutter-two-thirds; margin-bottom: $gutter-two-thirds;
} }
.bottom-gutter-1-2 {
margin-bottom: $gutter-half;
}
.align-with-heading { .align-with-heading {
display: block; display: block;
text-align: center; text-align: center;

View File

@@ -6,11 +6,11 @@
{% if not help %} {% if not help %}
{% if percentage_complete < 100 %} {% if percentage_complete < 100 %}
<p class="bottom-gutter hint"> <p class="bottom-gutter-1-2 hint">
Report is {{ "{:.0f}%".format(percentage_complete) }} complete… Report is {{ "{:.0f}%".format(percentage_complete) }} complete…
</p> </p>
{% elif notifications %} {% elif notifications %}
<p class="bottom-gutter"> <p class="bottom-gutter-1-2">
<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a> <a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>
&emsp; &emsp;
<span id="time-left">{{ time_left }}</span> <span id="time-left">{{ time_left }}</span>

View File

@@ -34,7 +34,7 @@
</div> </div>
{% if notifications %} {% if notifications %}
<p class="bottom-gutter"> <p class="bottom-gutter-1-2">
<a href="{{ download_link }}" download="download" class="heading-small">Download as a CSV file</a> <a href="{{ download_link }}" download="download" class="heading-small">Download as a CSV file</a>
&emsp; &emsp;
Delivery information is available for 7 days Delivery information is available for 7 days