]> git.parisson.com Git - mezzo.git/commitdiff
Truncate the event category in the event card and move the button to the bottom right
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 26 Oct 2016 14:22:06 +0000 (16:22 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 26 Oct 2016 14:22:06 +0000 (16:22 +0200)
app/static/src/sass/modules/boxes/_article-box.scss
app/templates/agenda/includes/event_card.html

index 0e2edf8a04f487dd190e9f025a613cfe82fe19d4..67aab6e7a8058007c35aae1f9b06b3fd2af8e616 100644 (file)
@@ -95,10 +95,10 @@ $module: ".article-box";
 
     &__btn {
         position: absolute;
-        top: 0;
+        bottom: 0;
         right: 0;
 
-        @include margin-top(.5);
+        @include margin-bottom(.5);
         @include margin-right(.5);
     }
 
index f3ca82ac0d84c933dda54fd32a00fe9c4fee5a6e..0d13c6957269602f6b7f1e55f971e54292c1a101 100644 (file)
@@ -44,7 +44,7 @@
         {% endif %}
         {% if event.category %}
             <div class="tag tag--small tag--category">
-                {{ event.category|truncatechars:20 }}
+                {{ event.category|truncatechars:15 }}
             </div>
         {% endif %}
     </div>