More things

This commit is contained in:
space-nuko
2023-05-08 03:45:22 -05:00
parent e6172b0648
commit dd00cf52b5
5 changed files with 39 additions and 6 deletions

View File

@@ -36,8 +36,8 @@
};
let style: Styles = {
// grid_cols: [2],
grid: [3],
grid_cols: [4],
grid_rows: [4],
// object_fit: "cover",
}
let element: HTMLDivElement;
@@ -126,7 +126,7 @@
{#if widget && node && nodeValue && $nodeValue != null}
{#if widget.attrs.variant === "image"}
<div class="wrapper comfy-image-widget" bind:this={element}>
<div class="wrapper comfy-image-widget" style="height: {widget.attrs.height || 'auto'}" bind:this={element}>
<Block variant="solid" padding={false}>
{#if widget.attrs.title}
<BlockLabel