🐛 Fix(tray): clamp image titles to two lines

Prevent long file names from stretching the tray item layout.
This commit is contained in:
PiEgg
2026-01-07 15:45:11 +08:00
parent 50881b071a
commit 525492bed1
+6 -1
View File
@@ -239,9 +239,14 @@ body::-webkit-scrollbar
cursor not-allowed
&__title
text-align center
width 100%
overflow hidden
text-overflow ellipsis
white-space nowrap
white-space normal
word-break break-all
display -webkit-box
-webkit-box-orient vertical
-webkit-line-clamp 2
color #ddd
font-size 14px
margin-top 4px