fix: adjust padding in InputFile and Input components for better layout

This commit is contained in:
Ardeman 2025-03-09 21:20:29 +08:00
parent 4bb7a23795
commit 4bc185434b
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export const InputFile = <TFormValues extends Record<string, unknown>>(
</Label>
<HeadlessInput
className={twMerge(
'h-[42px] w-full rounded-md border border-[#DFDFDF] p-2',
'h-[42px] w-full rounded-md border border-[#DFDFDF] p-2 pr-8',
className,
)}
placeholder={placeholder}

View File

@ -63,7 +63,7 @@ export const Input = <TFormValues extends Record<string, unknown>>(
<HeadlessInput
type={inputType}
className={twMerge(
'h-[42px] w-full rounded-md border border-[#DFDFDF] p-2',
'h-[42px] w-full rounded-md border border-[#DFDFDF] p-2 pr-8',
className,
)}
placeholder={inputType === 'password' ? '******' : placeholder}