From 2c1c08255c003dde6609bde20158c3e829bef2af Mon Sep 17 00:00:00 2001 From: "junyoung.lim" Date: Tue, 8 Apr 2025 16:30:20 +0900 Subject: [PATCH] Support multiline ellipsis of quoted message if possible --- src/ui/QuoteMessage/index.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/QuoteMessage/index.scss b/src/ui/QuoteMessage/index.scss index 701f025e7..c6e498fb3 100644 --- a/src/ui/QuoteMessage/index.scss +++ b/src/ui/QuoteMessage/index.scss @@ -83,6 +83,13 @@ max-height: 30px; overflow: hidden; text-overflow: ellipsis; + + /* Below code is for multiline ellipsis. + * These properties are not compatible with some browsers, and will be ignored on the unsupported browser. + */ + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; } }