mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 08:05:44 +00:00
fix(frontend): Remove full height for the event handlers of runnables (#4196)
This commit is contained in:
@@ -156,6 +156,7 @@
|
||||
{/if}
|
||||
<PanelSection
|
||||
title={`Event handlers`}
|
||||
fullHeight={false}
|
||||
tooltip="Event handlers are used to trigger actions on other components when a specific event occurs. For example, you can trigger a recompute on a component when a script has successfully run."
|
||||
>
|
||||
<EventHandlerItem
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
export let title: string
|
||||
export let noPadding: boolean = false
|
||||
export let fullHeight: boolean = true
|
||||
export let titlePadding: string = ''
|
||||
export let tooltip = ''
|
||||
export let documentationLink: string | undefined = undefined
|
||||
@@ -13,8 +14,9 @@
|
||||
<div
|
||||
class={classNames(
|
||||
$$props.class,
|
||||
'flex flex-col h-full gap-2 items-start',
|
||||
noPadding ? '' : 'p-3'
|
||||
'flex flex-col gap-2 items-start',
|
||||
noPadding ? '' : 'p-3',
|
||||
fullHeight ? 'h-full' : ''
|
||||
)}
|
||||
{id}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user