nit fix incorrect overflow-auto in display result
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
whitespace: normal !important;
|
||||
}
|
||||
|
||||
pre code.hljs {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
svelte-virtual-list-row {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
@@ -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 "
|
||||
>
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user