From 53cc18d30890a5df82ba9e09428d8a899b13cfb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Tue, 14 Feb 2017 14:40:07 +0100 Subject: [PATCH] Remove the height on the person cards --- app/static/src/sass/modules/boxes/_article-box.scss | 6 ++---- app/templates/network/inc/person/person_card_square.html | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/static/src/sass/modules/boxes/_article-box.scss b/app/static/src/sass/modules/boxes/_article-box.scss index 2a8276c3..3b43198f 100644 --- a/app/static/src/sass/modules/boxes/_article-box.scss +++ b/app/static/src/sass/modules/boxes/_article-box.scss @@ -292,13 +292,11 @@ $module: ".article-box"; #{$module}__content { - height: 350px; - @include mq($until: xs) { height: auto; } - &:after { + /*&:after { @include mq($until: xs) { display: none; @@ -314,7 +312,7 @@ $module: ".article-box"; background-color: rgba($color-background, 0); @include filter-gradient(rgba($color-background, 1), rgba($color-background, 1), vertical); @include background-image(linear-gradient(top, rgba($color-background, 0) 0%, rgba($color-background, 1) 50%)); - } + }*/ } diff --git a/app/templates/network/inc/person/person_card_square.html b/app/templates/network/inc/person/person_card_square.html index ec146f8d..f2fe6e69 100644 --- a/app/templates/network/inc/person/person_card_square.html +++ b/app/templates/network/inc/person/person_card_square.html @@ -18,9 +18,9 @@

{{ person.first_name }} {{ person.last_name }}

{% if person.description %} -
{{ person.description|richtext_filters|safe|truncatechars_html:255 }}
+
{{ person.description|richtext_filters|safe|truncatechars_html:200 }}
{% elif person.bio %} -
{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}
+
{{ person.bio|richtext_filters|safe|truncatechars_html:200 }}
{% endif %} -- 2.39.5