nit highlight code

This commit is contained in:
Ruben Fiszel
2024-08-15 10:46:57 +02:00
parent 4ede41f34b
commit 737ae3ead9
@@ -73,7 +73,7 @@
}}
iconOnly
/>
{#if code?.length < 5000}
{#if code?.length < 10000}
{#if !lines}
<Highlight class="nowrap {$$props.class}" language={lang} {code} />
{:else}
@@ -82,7 +82,7 @@
</Highlight>
{/if}
{:else}
<pre class="overflow-auto max-h-screen {$$props.class}"
<pre class="overflow-auto max-h-screen text-xs {$$props.class}"
><code class="language-{language}">{code}</code></pre
>
{/if}