Skip to content

High performance self-hosted photo and video management solution.

fix(web): word-wrap long album names (#31265)

Mees Frenseld7ae4ae1d04f
diff --git a/web/src/lib/components/album-page/AlbumCard.svelte b/web/src/lib/components/album-page/AlbumCard.svelte
index e0151deda6..f3bc4190aa 100644
--- a/web/src/lib/components/album-page/AlbumCard.svelte
+++ b/web/src/lib/components/album-page/AlbumCard.svelte
@@ -60,7 +60,7 @@
<div class="mt-4">
<p
- class="line-clamp-2 w-full text-lg/6 font-semibold text-black group-hover:text-primary dark:text-white"
+ class="line-clamp-2 w-full text-lg/6 font-semibold wrap-break-word text-black group-hover:text-primary dark:text-white"
data-testid="album-name"
title={album.albumName}
>