From: Radek Czajka Date: Thu, 28 Nov 2019 23:35:14 +0000 (+0100) Subject: Minor css fix. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/db3bea808bc78fa2d1c6d0be6e0300003f31059c?ds=inline Minor css fix. --- diff --git a/src/club/templates/club/membership_form.html b/src/club/templates/club/membership_form.html index ac4e4c141..def4539a8 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -67,17 +67,20 @@ .inna.active .button {display: none;} .ambassador { - padding: 2em 145px 2em 2em; + padding: 2em; margin-bottom: 1em; border: 1px solid #ddd; position: relative; } + .ambassador.with-photo { + padding-right: 145px; + } .ambassador img { border-radius: 100%; height: 100px; width: 100px; position: absolute; - top: 30px; + top: 35px; right: 30px; } .ambassador div { @@ -179,7 +182,7 @@
{% if ambassador %} -
+
{{ ambassador.text }}