Browse Source

refac: code block image styling

Timothy Jaeryang Baek 2 tháng trước cách đây
mục cha
commit
9bada6421e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib/components/chat/Messages/CodeBlock.svelte

+ 1 - 1
src/lib/components/chat/Messages/CodeBlock.svelte

@@ -514,7 +514,7 @@
 									<div class="flex flex-col gap-2">
 										{#each files as file}
 											{#if file.type.startsWith('image')}
-												<img src={file.data} alt="Output" />
+												<img src={file.data} alt="Output" class=" w-full max-w-[36rem]" />
 											{/if}
 										{/each}
 									</div>