nit fix incorrect overflow-auto in display result

This commit is contained in:
Ruben Fiszel
2023-01-03 10:54:55 +01:00
parent 69f086832c
commit 369232e276
4 changed files with 8 additions and 4 deletions

View File

@@ -27,6 +27,10 @@
whitespace: normal !important;
}
pre code.hljs {
overflow: visible !important;
}
svelte-virtual-list-row {
overflow: visible !important;
}

View File

@@ -88,7 +88,7 @@
class="grid grid-flow-col-dense border border-gray-200 rounded-md "
>
{#each Object.keys(result) as col}
<div class="flex flex-col max-h-40 min-w-full overflow-auto">
<div class="flex flex-col max-h-40 min-w-full">
<div
class="px-12 text-left uppercase border-b bg-gray-50 overflow-hidden rounded-t-md "
>

View File

@@ -18,7 +18,7 @@
import LogViewer from '../LogViewer.svelte'
import { Pane } from 'svelte-splitpanes'
import SplitPanesWrapper from '../splitPanes/SplitPanesWrapper.svelte'
import { Loader, Loader2 } from 'lucide-svelte'
import { Loader2 } from 'lucide-svelte'
export let path: string | undefined
export let lang: Preview.language
@@ -87,7 +87,7 @@
</Pane>
<Pane>
{#if previewJob != undefined && 'result' in previewJob && previewJob.result != undefined}
<pre class="overflow-x-auto break-words relative h-full p-2"
<pre class="relative w-full h-full p-2"
><DisplayResult result={previewJob.result} />
</pre>
{:else}

View File

@@ -256,7 +256,7 @@ const config = {
padding: '0px !important',
fontFamily: theme('fontFamily.mono'),
fontSize: theme('fontSize.sm') + ' !important',
lineHeight: theme('lineHeight.4') + ' !important',
lineHeight: theme('lineHeight.4') + ' !important'
}
})
addComponents({