fix(native): ellipsize start-page card descriptions

Long subtitles were clamped to two lines and grew the card; keep them on one line with a text-overflow ellipsis, and pin the rule with a CSS regression test.
This commit is contained in:
Menghuan1918 committed 2026-11-12 14:18:54 +08:00
1 parent 95270afa2f
commit 91e3ee8970
4 files changed
+23 -3

No files matched your search

+2 -3
View File
@@ -118,13 +118,12 @@
}
.cardDesc {
display: -webkit-box;
overflow: hidden;
color: var(--dsw-alias-label-tertiary);
font-size: 12px;
line-height: 18px;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
white-space: nowrap;
}
.cardMenuButton {