mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
feat: 优化 TorrentCard 组件标题显示,支持多行文本截断
This commit is contained in:
@@ -410,7 +410,9 @@ onMounted(() => {
|
|||||||
.torrent-title {
|
.torrent-title {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
white-space: nowrap;
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
color: rgba(var(--v-theme-on-surface), 0.87);
|
color: rgba(var(--v-theme-on-surface), 0.87);
|
||||||
|
|||||||
Reference in New Issue
Block a user