diff --git a/src/lib/components/BlockContainer.svelte b/src/lib/components/BlockContainer.svelte index ffcbe2e..6329b59 100644 --- a/src/lib/components/BlockContainer.svelte +++ b/src/lib/components/BlockContainer.svelte @@ -42,7 +42,7 @@ {#if container && children} {#key $attrsChanged} -
{#each children.filter(item => item.id !== SHADOW_PLACEHOLDER_ITEM_ID) as item(item.id)} - {@const hidden = item?.node?.properties?.hidden} + {@const hidden = item?.attrs?.hidden}
@@ -140,6 +140,18 @@ .container { display: flex; + > :global(*) { + border-radius: 0; + } + + > :global(.padded) { + padding: 10px 12px 0px 10px; + + &:last-child { + padding-bottom: 12px; + } + } + :global(.block) { height: fit-content; } @@ -214,7 +226,7 @@ .animation-wrapper { position: relative; - flex-grow: 1; + flex-grow: 100; } .handle-widget:hover { diff --git a/src/lib/components/ComfyApp.svelte b/src/lib/components/ComfyApp.svelte index a6dfc8a..f11ce46 100644 --- a/src/lib/components/ComfyApp.svelte +++ b/src/lib/components/ComfyApp.svelte @@ -3,6 +3,7 @@ import { get } from "svelte/store"; import { Pane, Splitpanes } from 'svelte-splitpanes'; import { Button } from "@gradio/button"; + import { BlockTitle } from "@gradio/atoms"; import ComfyUIPane from "./ComfyUIPane.svelte"; import ComfyApp, { type SerializedAppState } from "./ComfyApp"; import { Checkbox } from "@gradio/form" @@ -222,7 +223,9 @@ - +