From 9738025bb2847e398b5fda36abb419ec0291d58d Mon Sep 17 00:00:00 2001 From: Jeff Wong Date: Mon, 7 May 2018 10:44:37 -0700 Subject: [PATCH] Feature: display description for group cards --- .../discourse/templates/components/group-card-contents.hbs | 1 + app/assets/stylesheets/desktop/user-card.scss | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs b/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs index 4ae2f03a3d9..40947416471 100644 --- a/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs +++ b/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs @@ -20,6 +20,7 @@ {{else}}

{{group.name}}

{{/if}} +

{{{group.bio_cooked}}}

diff --git a/app/assets/stylesheets/desktop/user-card.scss b/app/assets/stylesheets/desktop/user-card.scss index df18f58a828..db50a811b3d 100644 --- a/app/assets/stylesheets/desktop/user-card.scss +++ b/app/assets/stylesheets/desktop/user-card.scss @@ -48,6 +48,11 @@ $user_card_background: $secondary; } } + .bio { + max-height: 200px; + overflow: auto; + } + &.no-bg { min-height: 50px;