[opt] friends: line limit

This commit is contained in:
xaoxuu 2024-01-09 18:21:40 +08:00
parent 5e245f2efc
commit 5c97066f4f
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,10 @@
padding: 1rem 0.5rem
.name
max-width: 100%
txt-ellipsis()
display: -webkit-box
-webkit-box-orient: vertical
overflow: hidden
-webkit-line-clamp: 2
img
object-fit: cover
display: block