🔧 chore: replace space-y-2 with gap-y-2 for input

This commit is contained in:
Andre H 2024-03-01 11:12:47 +08:00
parent a8ad6c6eec
commit 0b64ccc364

View File

@ -87,12 +87,12 @@ export const Input = ({
); );
return ( return (
<div className="space-y-2"> <div className="gap-y-2">
{renderLabels} {renderLabels}
<div className={containerCls({ class: className })}> <div className={containerCls({ class: className })}>
{leftIcon && renderLeftIcon} {leftIcon && renderLeftIcon}
<input <input
className={cn(inputCls({ class: 'w-80' }), { className={cn(inputCls(), {
'pl-10': leftIcon, 'pl-10': leftIcon,
})} })}
{...props} {...props}