feat: 优化 TorrentCard 组件标题显示,支持多行文本截断

This commit is contained in:
jxxghp
2025-03-29 08:27:03 +08:00
parent 81f85b9e46
commit 54e2f70ee0

View File

@@ -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);