mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 00:05:27 +00:00
nit highlight code
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user