fix: addOnLeading text field caret cropping (#23225)

This commit is contained in:
Vitor Monteiro authored and GitHub committed 2025-08-20 22:32:19 +00:00
1 parent cf13c06c57
commit 6e4b2d8886
1 file changed
+1 -1
@@ -165,7 +165,7 @@ export const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function
"w-full min-w-0 truncate border-0 bg-transparent focus:outline-none focus:ring-0",
"text-default rounded-lg text-sm font-medium leading-none",
"placeholder:text-muted disabled:cursor-not-allowed disabled:bg-transparent",
addOnLeading && "pl-0.5 pr-0",
addOnLeading && "rounded-none pl-0.5 pr-0",
addOnSuffix && "pl-0",
className
)}