Browse Source

Corrige bug na geração de PDFs

pull/166/head
Sesóstris Vieira 1 year ago
parent
commit
ffe9932e4d
  1. 2
      requirements/requirements.txt
  2. 4
      sigi/templates/pdf/base.html

2
requirements/requirements.txt

@ -9,7 +9,7 @@ Pillow==9.5.0
psycopg2-binary==2.9.6
python-docx==0.8.11
requests==2.31.0
weasyprint==59.0
weasyprint==58.0
XlsxWriter==3.1.2
Django==4.2.2
django-auth-ldap==4.3.0

4
sigi/templates/pdf/base.html

@ -9,7 +9,7 @@
@page {
size: {% block page_size %}A4 portrait{% endblock page_size %};
margin: {% block page_margin %}3cm 2cm 2cm 2cm{% endblock page_margin %};
font-family: "Helvetica, Arial, sans-serif";
font-family: "Helvetica", "Arial", "sans-serif";
font-size: 10px;
{% block page-header-settings %}
@top-left {content: url("{% static 'img/logo-senado.png' %}");}
@ -35,7 +35,7 @@
footer {position: running(footer);}
}
body {
font-family: Helvetica, Arial, sans-serif;
font-family: "Helvetica", "Arial", "sans-serif";
font-size: 10px;
}
div.new-page {

Loading…
Cancel
Save