victor HF staff commited on
Commit
5c5a098
1 Parent(s): 3e9f86e

avoid huge titles

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"
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-h1:font-semibold prose-h2:font-semibold prose-h3:font-semibold"
61
  bind:this={contentEl}
62
  >
63
  {#each tokens as token}