Skip to content

High performance self-hosted photo and video management solution.

fix: word wrap on custom link preview (#23942)

100daysummeraf22f9b01452
diff --git a/web/src/lib/modals/SharedLinkCreateModal.svelte b/web/src/lib/modals/SharedLinkCreateModal.svelte
index f2fcacd17e..40fc21ccc2 100644
--- a/web/src/lib/modals/SharedLinkCreateModal.svelte
+++ b/web/src/lib/modals/SharedLinkCreateModal.svelte
@@ -68,7 +68,7 @@
<Input bind:value={slug} autocomplete="off" />
</Field>
{#if slug}
- <Text size="tiny" color="muted" class="pt-2">/s/{encodeURIComponent(slug)}</Text>
+ <Text size="tiny" color="muted" class="pt-2 break-all">/s/{encodeURIComponent(slug)}</Text>
{/if}
</div>