Skip to content

Commit

Permalink
fixed mulit-line
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Mar 20, 2017
1 parent 30ff763 commit 8526279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/lib/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,12 @@
@mixin multi-line-ellipsis($fontSize:14px, $lineHeight:1.4, $maxLines:3) {
height: $fontSize*$lineHeight*$maxLines;
display:block;
/* autoprefixer: off */
display: -webkit-box;
line-height: $lineHeight;
-webkit-line-clamp: $maxLines;
-webkit-box-orient: vertical;
/* autoprefixer: on */
overflow: hidden;
text-overflow: ellipsis;
font-size: $fontSize;
Expand Down

0 comments on commit 8526279

Please sign in to comment.