fix: Word wrapping

This commit is contained in:
Aleksander Grygier 2026-01-15 17:59:57 +01:00
parent c2dd1d2fed
commit 162bd976ed
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@
<Card <Card
class="max-w-[80%] overflow-y-auto rounded-[1.125rem] border-none bg-primary/5 px-3.75 py-1.5 text-foreground backdrop-blur-md data-[multiline]:py-2.5 dark:bg-primary/15" class="max-w-[80%] overflow-y-auto rounded-[1.125rem] border-none bg-primary/5 px-3.75 py-1.5 text-foreground backdrop-blur-md data-[multiline]:py-2.5 dark:bg-primary/15"
data-multiline={isMultiline ? '' : undefined} data-multiline={isMultiline ? '' : undefined}
style="max-height: calc(100dvh - var(--chat-form-area-height));" style="max-height: calc(100dvh - var(--chat-form-area-height)); overflow-wrap: anywhere; word-break: break-word;"
> >
{#if currentConfig.renderUserContentAsMarkdown} {#if currentConfig.renderUserContentAsMarkdown}
<div bind:this={messageElement} class="text-md"> <div bind:this={messageElement} class="text-md">