refac: code block styling

This commit is contained in:
Timothy Jaeryang Baek
2025-02-18 20:24:04 -08:00
parent 003968f06a
commit a6a7c548d5
2 changed files with 8 additions and 2 deletions

View File

@@ -493,7 +493,13 @@
{#if stdout || stderr}
<div class=" ">
<div class=" text-gray-500 text-xs mb-1">STDOUT/STDERR</div>
<div class="text-sm">{stdout || stderr}</div>
<div
class="text-sm {stdout?.split('\n')?.length > 100
? `max-h-96`
: ''} overflow-y-auto"
>
{stdout || stderr}
</div>
</div>
{/if}
{#if result || files}