Add gradio classes to widgets
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper gr-combo">
|
||||||
{#if item !== null && option !== undefined}
|
{#if item !== null && option !== undefined}
|
||||||
<label>
|
<label>
|
||||||
<BlockTitle show_label={true}>{item.widget.name}</BlockTitle>
|
<BlockTitle show_label={true}>{item.widget.name}</BlockTitle>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<div class="wrapper comfy-gallery-widget" bind:this={element}>
|
<div class="wrapper comfy-gallery-widget gr-gallery" bind:this={element}>
|
||||||
{#if item && itemValue}
|
{#if item && itemValue}
|
||||||
<Block variant="solid" padding={false}>
|
<Block variant="solid" padding={false}>
|
||||||
<Gallery
|
<Gallery
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper gr-range">
|
||||||
{#if item && option}
|
{#if item && option}
|
||||||
<Range
|
<Range
|
||||||
bind:value={option}
|
bind:value={option}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
$: if (item) { itemValue = item.value; }
|
$: if (item) { itemValue = item.value; }
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper gr-textbox">
|
||||||
{#if item !== null && itemValue !== null}
|
{#if item !== null && itemValue !== null}
|
||||||
<TextBox
|
<TextBox
|
||||||
bind:value={$itemValue}
|
bind:value={$itemValue}
|
||||||
|
|||||||
Reference in New Issue
Block a user