From f15d1ddf721ab133610dd204bc4790779a98e1a7 Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sat, 18 Nov 2023 01:05:12 +0800 Subject: [PATCH] pref: fix text overflow --- src/components/search/SearchResult.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/search/SearchResult.vue b/src/components/search/SearchResult.vue index 8d959713..d528e241 100644 --- a/src/components/search/SearchResult.vue +++ b/src/components/search/SearchResult.vue @@ -72,6 +72,12 @@ const handleClickTopic = (tid: number) => { span { &:nth-child(1) { + white-space: wrap; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 1; + overflow: hidden; + -webkit-box-orient: vertical; color: var(--kungalgame-blue-5); }