fix(ui) - input field width

This commit is contained in:
Shekar Siri 2022-10-11 16:47:47 +02:00
parent 60fc56ca09
commit a9cf0cfdca

View file

@ -31,7 +31,7 @@ const Input = React.forwardRef((props: Props, ref: any) => {
<input
ref={ref}
type={type}
style={{ height: `${height}px`, width: width? `${width}px` : 'unset' }}
style={{ height: `${height}px`, width: width? `${width}px` : '' }}
className={cn('p-2 border border-gray-light bg-white w-full rounded', className, { 'pl-10': icon })}
{...rest}
/>