New Field Changes

This commit is contained in:
2025-11-06 15:33:58 +05:30
parent 1fa55c47aa
commit 2d498b4909
+2 -2
View File
@@ -296,7 +296,7 @@ const controlWrap = "wr:relative";
p.kind === "textarea" && ( p.kind === "textarea" && (
<div class={cn(controlWrap, "wr:flex-1")}> <div class={cn(controlWrap, "wr:flex-1")}>
{p.iconLeft && ( {p.iconLeft && (
<span class="wr:absolute wr:inset-y-2 wr:left-0 wr:flex wr:items-start wr:pl-3 wr:pointer-events-none wr:text-muted-foreground"> <span class="wr:absolute wr:inset-y-3 wr:left-0 wr:flex wr:items-start wr:pl-3 wr:pointer-events-none wr:text-muted-foreground">
<Icon name={p.iconLeft} class={iconSize} /> <Icon name={p.iconLeft} class={iconSize} />
</span> </span>
)} )}
@@ -334,7 +334,7 @@ const controlWrap = "wr:relative";
/> />
{p.iconRight && ( {p.iconRight && (
<span class="wr:absolute wr:inset-y-2 wr:right-0 wr:pr-3 wr:flex wr:items-start wr:pointer-events-none wr:text-muted-foreground"> <span class="wr:absolute wr:inset-y-3 wr:right-0 wr:pr-3 wr:flex wr:items-start wr:pointer-events-none wr:text-muted-foreground">
<Icon name={p.iconRight} class={iconSize} /> <Icon name={p.iconRight} class={iconSize} />
</span> </span>
)} )}