From 91a10c9d28b988f50fb99b264925aecdf1fe1a62 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 31 Mar 2025 15:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20TorrentCard=20=E5=92=8C=20?= =?UTF-8?q?TorrentItem=20=E7=BB=84=E4=BB=B6=E7=9A=84=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E6=95=B4=E8=A1=8C=E6=95=B0=E5=92=8C=E5=AA=92?= =?UTF-8?q?=E4=BD=93=E6=9F=A5=E8=AF=A2=E7=9A=84=E5=93=8D=E5=BA=94=E5=BC=8F?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cards/TorrentCard.vue | 12 ++---------- src/components/cards/TorrentItem.vue | 12 +----------- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/components/cards/TorrentCard.vue b/src/components/cards/TorrentCard.vue index 6db2b91a..bb862918 100644 --- a/src/components/cards/TorrentCard.vue +++ b/src/components/cards/TorrentCard.vue @@ -353,7 +353,7 @@ onMounted(() => { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; - -webkit-line-clamp: 1; + -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: rgba(var(--v-theme-on-surface), 0.87); } @@ -628,15 +628,7 @@ onMounted(() => { opacity: 0.85; } -@media (max-width: 600px) { - .media-title { - font-size: 1rem; - } - - .torrent-card { - height: 260px; - } - +@media (max-width: 640px) { .resource-tag { font-size: 0.75rem; padding: 2px 6px; diff --git a/src/components/cards/TorrentItem.vue b/src/components/cards/TorrentItem.vue index 98e25b12..91183fe2 100644 --- a/src/components/cards/TorrentItem.vue +++ b/src/components/cards/TorrentItem.vue @@ -440,10 +440,6 @@ onMounted(() => { padding: 8px; } - .media-title { - font-size: 0.95rem; - } - .site-icon, .site-fallback { width: 24px; @@ -451,7 +447,7 @@ onMounted(() => { } .site-wrapper { - min-width: 100px; + min-width: 60px; flex-wrap: wrap; margin-right: 10px; } @@ -461,12 +457,6 @@ onMounted(() => { margin-right: 4px; } - .season-tag { - font-size: 0.75rem; - padding: 1px 4px; - margin-right: 4px; - } - .resource-tag { font-size: 0.75rem; padding: 2px 6px;