From aec211b9c270a6c6a1d21c1c71fad95617c9e562 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Mon, 8 Jan 2024 18:39:24 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/MkChatPreview.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkChatPreview.vue b/packages/frontend/src/components/MkChatPreview.vue index 0aec940fdd..09c6d9f648 100644 --- a/packages/frontend/src/components/MkChatPreview.vue +++ b/packages/frontend/src/components/MkChatPreview.vue @@ -131,7 +131,7 @@ function isMe(message): boolean { } .text { - display: block; + display: -webkit-box; margin: 0 0 0 0; padding: 0; overflow: hidden; @@ -139,6 +139,8 @@ function isMe(message): boolean { line-height: 1.35; max-height: 4.05em; color: var(--faceText); + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; } .me {