Skip to content

Commit 7a51ce6

Browse files
committed
fix: add line-clamp property for media viewer text overflow
1 parent b3036f4 commit 7a51ce6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/posts/PostCard.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,7 @@ const openMediaViewer = (index) => {
15941594
line-height: 1.4;
15951595
display: -webkit-box;
15961596
-webkit-line-clamp: 3;
1597+
line-clamp: 3;
15971598
-webkit-box-orient: vertical;
15981599
overflow: hidden;
15991600
}

0 commit comments

Comments
 (0)