From 6e4b2d888624b81d8223bd22ebcec98a47628226 Mon Sep 17 00:00:00 2001 From: Vitor Monteiro <76404081+vitormrmonteiro@users.noreply.github.com> Date: Wed, 20 Aug 2025 23:32:19 +0100 Subject: [PATCH] fix: addOnLeading text field caret cropping (#23225) --- packages/ui/components/form/inputs/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/components/form/inputs/TextField.tsx b/packages/ui/components/form/inputs/TextField.tsx index ad01e84ebd..7823c66ace 100644 --- a/packages/ui/components/form/inputs/TextField.tsx +++ b/packages/ui/components/form/inputs/TextField.tsx @@ -165,7 +165,7 @@ export const InputField = forwardRef(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 )}