From: Jérémy Fabre Date: Tue, 11 Oct 2016 09:10:54 +0000 (+0200) Subject: Rounded images in candidacy boxes X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a20638780848c951eb13b4411afa05582f378b97;p=mezzo.git Rounded images in candidacy boxes --- diff --git a/app/static/src/sass/modules/boxes/_job-line-box.scss b/app/static/src/sass/modules/boxes/_job-line-box.scss index ad9b142a..618e9dfe 100644 --- a/app/static/src/sass/modules/boxes/_job-line-box.scss +++ b/app/static/src/sass/modules/boxes/_job-line-box.scss @@ -26,6 +26,12 @@ $module: ".job-line-box"; } + #{$module}__image { + + border-radius: 150px; + + } + } &__title { diff --git a/app/templates/job/inc/candidacy_card.html b/app/templates/job/inc/candidacy_card.html index 1091a82d..8de658c8 100644 --- a/app/templates/job/inc/candidacy_card.html +++ b/app/templates/job/inc/candidacy_card.html @@ -6,7 +6,7 @@ {% with content.images.all|get_type:'card' as images %} {% if images %} - {{ content.title }} + {{ content.title }} {% endif %} {% endwith %}