Skip to content

Commit

Permalink
Feature: display description for group cards
Browse files Browse the repository at this point in the history
  • Loading branch information
featheredtoast committed May 7, 2018
1 parent ee1eb1a commit 9738025
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -20,6 +20,7 @@
{{else}}
<h2 class='username'>{{group.name}}</h2>
{{/if}}
<h2 class='bio'>{{{group.bio_cooked}}}</h2>
</span>
</div>

Expand Down
5 changes: 5 additions & 0 deletions app/assets/stylesheets/desktop/user-card.scss
Expand Up @@ -48,6 +48,11 @@ $user_card_background: $secondary;
}
}

.bio {
max-height: 200px;
overflow: auto;
}

&.no-bg {
min-height: 50px;

Expand Down

1 comment on commit 9738025

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/add-description-to-group-cards/86524/5

Please sign in to comment.