Add gradio classes to widgets
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="wrapper gr-range">
|
||||
{#if item && option}
|
||||
<Range
|
||||
bind:value={option}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user