From 34501ee2cfc677d759ee10e6a4786972989b7b71 Mon Sep 17 00:00:00 2001 From: Gagan Date: Tue, 21 Jul 2026 15:37:21 +0530 Subject: [PATCH] fix(x): optically center the 'Same as above' placeholder in the chat stepper --- apps/x/apps/renderer/src/components/settings-dialog.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/x/apps/renderer/src/components/settings-dialog.tsx b/apps/x/apps/renderer/src/components/settings-dialog.tsx index eecd140e..914ac61a 100644 --- a/apps/x/apps/renderer/src/components/settings-dialog.tsx +++ b/apps/x/apps/renderer/src/components/settings-dialog.tsx @@ -2701,7 +2701,10 @@ function LimitStepper({ onBlur={() => onCommit(value)} className={cn( "h-full border-x border-input bg-transparent text-center text-sm tabular-nums outline-none", - "placeholder:text-[11px] placeholder:text-muted-foreground/70", + // The 11px placeholder sits on the 14px text baseline, so it reads + // slightly low; nudge it up for optical centering. Only applies + // while the placeholder is visible, so typed text is unaffected. + "placeholder:text-[11px] placeholder:text-muted-foreground/70 placeholder-shown:pb-0.5", placeholder ? "w-24" : "w-16", )} />