diff options
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/include/_mixins.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 8c173d5c9..e41fe9389 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -24,7 +24,7 @@ | |||
24 | text-overflow: ellipsis; | 24 | text-overflow: ellipsis; |
25 | } | 25 | } |
26 | 26 | ||
27 | @mixin ellipsis-multiline($font-size: 16px, $number-of-lines: 2) { | 27 | @mixin ellipsis-multiline($font-size: 16px, $number-of-lines: 2, $line-height: $font-size) { |
28 | display: block; | 28 | display: block; |
29 | /* Fallback for non-webkit */ | 29 | /* Fallback for non-webkit */ |
30 | display: -webkit-box; /* stylelint-disable-line value-no-vendor-prefix */ | 30 | display: -webkit-box; /* stylelint-disable-line value-no-vendor-prefix */ |
@@ -32,7 +32,7 @@ | |||
32 | -webkit-box-orient: vertical; | 32 | -webkit-box-orient: vertical; |
33 | /* Fallback for non-webkit */ | 33 | /* Fallback for non-webkit */ |
34 | font-size: $font-size; | 34 | font-size: $font-size; |
35 | line-height: $font-size; | 35 | line-height: $line-height; |
36 | overflow: hidden; | 36 | overflow: hidden; |
37 | text-overflow: ellipsis; | 37 | text-overflow: ellipsis; |
38 | max-height: $font-size * $number-of-lines; | 38 | max-height: $font-size * $number-of-lines; |