diff --git a/sigi/templates/pdf/base.html b/sigi/templates/pdf/base.html
index cfcbe21..5ceb02d 100644
--- a/sigi/templates/pdf/base.html
+++ b/sigi/templates/pdf/base.html
@@ -16,6 +16,7 @@
@top-center { content: element(header); }
{% endblock %}
{% block page-footer-settings %}
+ @bottom-left { content: element(footerLeft); }
@bottom-center { content: element(footer); }
@bottom-right { content: "{% trans "Página: " %}" counter(page); }
{% endblock %}
@@ -33,6 +34,10 @@
@media print {
header {position: running(header);}
footer {position: running(footer);}
+ .footerLeft {
+ text-align: center;
+ position: running(footerLeft);
+ }
}
body {
font-family: "Helvetica", "Arial", "sans-serif";
diff --git a/sigi/templates/pdf/base_report.html b/sigi/templates/pdf/base_report.html
index b26954c..6213313 100644
--- a/sigi/templates/pdf/base_report.html
+++ b/sigi/templates/pdf/base_report.html
@@ -25,11 +25,12 @@ footer {
text-align: right;
}
footer img {
- width: {% if "landscape" in pagesize %}257{% else %}170{% endif %}mm;
+ width: 105mm;
}
.report_name {
font-size: 1.6em;
+ margin-top: 5px;
}
table {
@@ -70,6 +71,7 @@ ul {
{% endblock extra_style %}
{% block body_content %}
+{% spaceless %}
{% trans 'SENADO FEDERAL' %} {% block report_name %}{{ title|upper }}{% endblock report_name %}