Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Commit

Permalink
clamp excerpt at 8 lines to avoid cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Nov 28, 2016
1 parent fc68a7f commit add831d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/common/topic-timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
overflow: hidden;
word-wrap: break-word;
text-overflow: ellipsis;
display: block;
display: -webkit-box;
-webkit-line-clamp: 8;
-webkit-box-orient: vertical;
}
.username {
color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%));
Expand Down

0 comments on commit add831d

Please sign in to comment.