victor HF staff commited on
Commit
2d533a9
1 Parent(s): 5c5a098

fix messages width

Browse files
src/lib/components/chat/ChatMessage.svelte CHANGED
@@ -57,7 +57,7 @@
57
  <IconLoading classNames="absolute inset-0 m-auto" />
58
  {/if}
59
  <div
60
- class="prose dark:prose-invert :prose-pre:bg-gray-100 dark:prose-pre:bg-gray-950 prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-h1:font-semibold prose-h2:font-semibold prose-h3:font-semibold"
61
  bind:this={contentEl}
62
  >
63
  {#each tokens as token}
 
57
  <IconLoading classNames="absolute inset-0 m-auto" />
58
  {/if}
59
  <div
60
+ class="prose dark:prose-invert :prose-pre:bg-gray-100 dark:prose-pre:bg-gray-950 prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-headings:font-semibold max-w-none"
61
  bind:this={contentEl}
62
  >
63
  {#each tokens as token}