소스 검색

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>