Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Text cursor barely visible in calendar event name field (#26563)

Anshumancanrock5b1ee1a7ac55
diff --git a/packages/ui/components/form/inputs/TextField.tsx b/packages/ui/components/form/inputs/TextField.tsx
index 22a12a12c0d..25b91c0f95c 100644
--- a/packages/ui/components/form/inputs/TextField.tsx
+++ b/packages/ui/components/form/inputs/TextField.tsx
@@ -182,7 +182,7 @@ export const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function
"text-default rounded-lg text-sm font-medium leading-none",
"placeholder:text-muted disabled:cursor-not-allowed disabled:bg-transparent",
addOnLeading && "rounded-none pl-0.5 pr-0",
- addOnSuffix && "pl-0",
+ addOnSuffix && !addOnLeading && "pl-0.5",
className
)}
{...passThrough}