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:
1 parent
95270afa2f
commit
91e3ee8970
4 files changed
+23
-3
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user