From 16e3b8a47976925118de80568f964180ac1dc235 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Wed, 10 Jan 2018 22:24:52 +0100 Subject: [PATCH] Slight loading improvements --- scipost/static/scipost/assets/css/_homepage.scss | 1 + scipost/templates/scipost/index.html | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scipost/static/scipost/assets/css/_homepage.scss b/scipost/static/scipost/assets/css/_homepage.scss index e2a54ec18..e3ef3e8f0 100644 --- a/scipost/static/scipost/assets/css/_homepage.scss +++ b/scipost/static/scipost/assets/css/_homepage.scss @@ -47,6 +47,7 @@ img { max-height: 100px !important; + width: auto !important; } } } diff --git a/scipost/templates/scipost/index.html b/scipost/templates/scipost/index.html index 997c08604..1bcfc115c 100644 --- a/scipost/templates/scipost/index.html +++ b/scipost/templates/scipost/index.html @@ -182,8 +182,7 @@ <ul id="fader"> {% for agreement in current_agreements %} {% if agreement.partner.institution.logo %} - <li class="item"><img class="rounded" src="{{ agreement.partner.institution.logo.url }}" alt="Partner Logo"></li> - {# <div class="item"><img class="rounded" src="{{ agreement.partner.institution.logo.url }}" alt="Partner Logo"></div> #} + <li class="item"><img height="100" class="rounded" src="{{ agreement.partner.institution.logo.url }}" alt="Partner Logo"></li> {% endif %} {% endfor %} </ul> -- GitLab