Fixing Input.tsx ENG-144 (#297)

Update Input.tsx

- Fixing the Line Height Issue ENG-144
This commit is contained in:
Andre 2022-06-22 14:23:57 +02:00 committed by GitHub
parent 1b1a8c4258
commit 58afabf661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(({ ...props
ref={ref}
{...props}
className={clsx(
`px-3 py-1 rounded-md border leading-7 outline-none shadow-xs focus:ring-2 transition-all`,
`px-2 py-1 rounded-md border leading-5 outline-none shadow-xs focus:ring-2 transition-all`,
variants[props.variant || 'default'],
props.className
)}