fix(frontend): Remove full height for the event handlers of runnables (#4196)

This commit is contained in:
Faton Ramadani
2024-08-06 10:59:49 +02:00
committed by GitHub
parent 39dc6857eb
commit 6749f2c136
2 changed files with 5 additions and 2 deletions
@@ -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}
>