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

Word break fix in create link

Adds the "break-all" tailwind style to the slug text under the custom link text box
This commit is contained in:
100daysummer 2025-11-17 15:49:32 +02:00 committed by GitHub
parent 1086f22166
commit af22f9b014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@
<Input bind:value={slug} autocomplete="off" /> <Input bind:value={slug} autocomplete="off" />
</Field> </Field>
{#if slug} {#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} {/if}
</div> </div>