]> git.parisson.com Git - mezzo.git/commitdiff
Rounded images in candidacy boxes
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 11 Oct 2016 09:10:54 +0000 (11:10 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 11 Oct 2016 09:10:54 +0000 (11:10 +0200)
app/static/src/sass/modules/boxes/_job-line-box.scss
app/templates/job/inc/candidacy_card.html

index ad9b142a4fed5085614f780dfaa87a93bd83d7a1..618e9dfe4c5201d85b7ff67d4be2e97155f878da 100644 (file)
@@ -26,6 +26,12 @@ $module: ".job-line-box";
 
         }
 
+        #{$module}__image {
+
+            border-radius: 150px;
+
+        }
+
     }
 
     &__title {
index 1091a82dd3cb0ea2e2b33b4539feee661cf1b1f7..8de658c8563129666a5f2cd7edd6be700ff12905 100644 (file)
@@ -6,7 +6,7 @@
 
             {% with content.images.all|get_type:'card' as images %}
                 {% if images %}
-                    <img src="{{ MEDIA_URL }}{% thumbnail images.first 150 150 %}" alt="{{ content.title }}">
+                    <img class="job-line-box__image" src="{{ MEDIA_URL }}{% thumbnail images.first 150 150 %}" alt="{{ content.title }}">
                 {% endif %}
             {% endwith %}