Add gradio classes to widgets

This commit is contained in:
space-nuko
2023-04-27 17:16:57 -07:00
parent 8453b831a1
commit 1b55c35aad
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
}
</script>
<div class="wrapper">
<div class="wrapper gr-combo">
{#if item !== null && option !== undefined}
<label>
<BlockTitle show_label={true}>{item.widget.name}</BlockTitle>

View File

@@ -33,7 +33,7 @@
}
</script>
<div class="wrapper comfy-gallery-widget" bind:this={element}>
<div class="wrapper comfy-gallery-widget gr-gallery" bind:this={element}>
{#if item && itemValue}
<Block variant="solid" padding={false}>
<Gallery

View File

@@ -22,7 +22,7 @@
}
</script>
<div class="wrapper">
<div class="wrapper gr-range">
{#if item && option}
<Range
bind:value={option}

View File

@@ -6,7 +6,7 @@
$: if (item) { itemValue = item.value; }
</script>
<div class="wrapper">
<div class="wrapper gr-textbox">
{#if item !== null && itemValue !== null}
<TextBox
bind:value={$itemValue}