From 54e2f70ee0e820f5a4a5631d65dfa999d1005310 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 29 Mar 2025 08:27:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20TorrentCard=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=A0=87=E9=A2=98=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A4=9A=E8=A1=8C=E6=96=87=E6=9C=AC=E6=88=AA?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cards/TorrentCard.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/cards/TorrentCard.vue b/src/components/cards/TorrentCard.vue index da156a3a..2fb6fc3c 100644 --- a/src/components/cards/TorrentCard.vue +++ b/src/components/cards/TorrentCard.vue @@ -410,7 +410,9 @@ onMounted(() => { .torrent-title { font-size: 0.9rem; font-weight: 500; - white-space: nowrap; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; color: rgba(var(--v-theme-on-surface), 0.87);