mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
nit scroll
This commit is contained in:
@@ -370,7 +370,6 @@
|
||||
{suggestion}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div bind:this={divEl} class="{$$props.class ?? ''} editor" bind:clientWidth={width} />
|
||||
|
||||
<style lang="postcss">
|
||||
|
||||
@@ -477,7 +477,7 @@
|
||||
const updateHeight = () => {
|
||||
const contentHeight = Math.min(1000, editor.getContentHeight())
|
||||
if (divEl) {
|
||||
divEl.style.height = `${contentHeight}px`
|
||||
divEl.style.height = `${contentHeight + 2}px`
|
||||
}
|
||||
try {
|
||||
editor.layout({ width, height: contentHeight })
|
||||
|
||||
@@ -362,7 +362,7 @@
|
||||
<Tab value="advanced">Advanced</Tab>
|
||||
</Tabs>
|
||||
<div
|
||||
class={advancedSelected === 'runtime' ? 'h-[calc(100%-64px)]' : 'h-[calc(100%-32px)]'}
|
||||
class={advancedSelected === 'runtime' ? 'h-[calc(100%-68px)]' : 'h-[calc(100%-34px)]'}
|
||||
>
|
||||
{#if selected === 'inputs' && (flowModule.value.type == 'rawscript' || flowModule.value.type == 'script' || flowModule.value.type == 'flow')}
|
||||
<div class="h-full overflow-auto" id="flow-editor-step-input">
|
||||
|
||||
Reference in New Issue
Block a user