mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 15:08:25 -04:00
Style ‘Download PDF’ link
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
.page-footer {
|
.page-footer {
|
||||||
|
|
||||||
|
position: relative;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
|
||||||
&-back-link {
|
&-back-link {
|
||||||
@@ -50,6 +51,12 @@
|
|||||||
margin-top: $gutter;
|
margin-top: $gutter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-right-aligned-link {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 10px; // align baseline with buttons
|
||||||
|
}
|
||||||
|
|
||||||
.button,
|
.button,
|
||||||
.button-destructive {
|
.button-destructive {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
|
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
|
||||||
{% if template.template_type == 'letter' %}
|
{% if template.template_type == 'letter' %}
|
||||||
<a href="{{ url_for('main.check_notification_preview', service_id=current_service.id, template_id=template.id, filetype='pdf') }}" download>Download as a printable PDF</a>
|
<a href="{{ url_for('main.check_notification_preview', service_id=current_service.id, template_id=template.id, filetype='pdf') }}" download class="page-footer-right-aligned-link">Download as a printable PDF</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user