diff options
author | Chocobozzz <me@florianbigard.com> | 2023-08-17 14:26:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-08-17 14:34:49 +0200 |
commit | c5f8dc0533153658f46b68a9e214646b41abebfc (patch) | |
tree | 7e2118845ac89cd2a07b35fa064d8e134c54ca75 /client/src/sass/class-helpers | |
parent | e4f82eaa8b5c47874f53b82bc6910f1f93189548 (diff) | |
download | PeerTube-c5f8dc0533153658f46b68a9e214646b41abebfc.tar.gz PeerTube-c5f8dc0533153658f46b68a9e214646b41abebfc.tar.zst PeerTube-c5f8dc0533153658f46b68a9e214646b41abebfc.zip |
Correctly truncate HTML
We can because we don't use the video truncated description since v5.0
Diffstat (limited to 'client/src/sass/class-helpers')
-rw-r--r-- | client/src/sass/class-helpers/_text.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/sass/class-helpers/_text.scss b/client/src/sass/class-helpers/_text.scss index 0fe698d4f..2231219fd 100644 --- a/client/src/sass/class-helpers/_text.scss +++ b/client/src/sass/class-helpers/_text.scss | |||
@@ -36,6 +36,10 @@ | |||
36 | overflow: hidden; | 36 | overflow: hidden; |
37 | } | 37 | } |
38 | 38 | ||
39 | .ellipsis-multiline-1 { | ||
40 | @include ellipsis-multiline(1); | ||
41 | } | ||
42 | |||
39 | .ellipsis-multiline-2 { | 43 | .ellipsis-multiline-2 { |
40 | @include ellipsis-multiline(2); | 44 | @include ellipsis-multiline(2); |
41 | } | 45 | } |
@@ -45,3 +49,7 @@ | |||
45 | } | 49 | } |
46 | 50 | ||
47 | // --------------------------------------------------------------------------- | 51 | // --------------------------------------------------------------------------- |
52 | |||
53 | .ellipsis { | ||
54 | @include ellipsis; | ||
55 | } | ||