diff --git a/app/contrib/partners/templates/partners/partners_list.html b/app/contrib/partners/templates/partners/partners_list.html index 7a5da75f..a8382d82 100644 --- a/app/contrib/partners/templates/partners/partners_list.html +++ b/app/contrib/partners/templates/partners/partners_list.html @@ -1,9 +1,5 @@ -
{% for partner in partners %} -
- + {{ partner.name }} -
{% endfor %} -
diff --git a/app/org_eleicoes/votepeloclima/static/scss/custom.scss b/app/org_eleicoes/votepeloclima/static/scss/custom.scss index f9e1770a..c41a009d 100644 --- a/app/org_eleicoes/votepeloclima/static/scss/custom.scss +++ b/app/org_eleicoes/votepeloclima/static/scss/custom.scss @@ -197,6 +197,17 @@ legend.form-label { } // Partner Tag -.partner-logo { - max-width: 120px; +.partners-list { + a { + display: flex; + justify-content: center; + align-items: center; + } + + img { + width: 125px; + height: 70px; + object-fit: contain; + object-position: center; + } } \ No newline at end of file diff --git a/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html b/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html index 9b90f53f..cf098ed4 100644 --- a/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html +++ b/app/org_eleicoes/votepeloclima/templates/votepeloclima/base.html @@ -86,7 +86,9 @@
Realização

Quem assina
- {% show_partners %} +
+ {% show_partners %} +