Skip to content

Commit 064a837

Browse files
authored
Support 2 lines titles on thumbs with disabled second line (#4484)
1 parent 806b188 commit 064a837

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

resources/js/components/gallery/albumModule/thumbs/AlbumThumbOverlay.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
>
99
<h1
1010
:class="{
11-
'w-full pt-3 pb-1 text-sm text-surface-0 font-bold text-ellipsis whitespace-nowrap overflow-x-hidden': true,
11+
'w-full pt-3 pb-1 text-sm text-surface-0 font-bold text-ellipsis overflow-x-hidden': true,
12+
'whitespace-nowrap': album_subtitle_type !== 'disabled',
13+
'line-clamp-2': album_subtitle_type === 'disabled',
1214
'pr-1 pl-2 sm:pl-3 md:pl-4': isLTR(),
1315
'pl-1 pr-2 sm:pr-3 md:pr-4': !isLTR(),
1416
}"

0 commit comments

Comments
 (0)