clamp excerpt at 8 lines to avoid cut off

This commit is contained in:
Sam 2016-11-28 11:35:32 +11:00
parent fc68a7f0c6
commit add831dbc1
1 changed files with 4 additions and 0 deletions

View File

@ -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%));