From c7c1150c3413234a9874860e7dc9f26dfac3e17c Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Wed, 10 Jan 2018 22:42:00 +0100 Subject: [PATCH] Fix minorities --- scipost/static/scipost/assets/css/_homepage.scss | 1 + scipost/views.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scipost/static/scipost/assets/css/_homepage.scss b/scipost/static/scipost/assets/css/_homepage.scss index e3ef3e8f0..52cd38d0f 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; + height: auto !important; width: auto !important; } } diff --git a/scipost/views.py b/scipost/views.py index b91538002..a9fe527bf 100644 --- a/scipost/views.py +++ b/scipost/views.py @@ -90,7 +90,7 @@ def index(request): 'journals': Journal.objects.order_by('name'), 'publications': Publication.objects.published().order_by('-publication_date', '-paper_nr')[:3], - 'current_agreements': MembershipAgreement.objects.now_active()[:2], + 'current_agreements': MembershipAgreement.objects.now_active(), } return render(request, 'scipost/index.html', context) -- GitLab