浏览代码

refac: code block image styling

Timothy Jaeryang Baek 2 月之前
父节点
当前提交
9bada6421e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>