The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 07:15 UTC
fix(web): thread details rows no longer show stray scrollbars on touch screens (#38546)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Tristan Knight committed
Nov 18, 2026 at 11:03 UTC
3088d266654acbce33ea42a894b48f76aea264bd
1 file changed
+2
-1
apps/web/src/components/chat/ThreadDetailsControl.tsx
+2
-1
@@ -53,8 +53,9 @@ export function ThreadDetailsControl({
53
props: mergeProps<"button">(
54
{
55
type: render ? undefined : "button",
56
+ // The touch target stays centered within the panel's 32px rows; spilling past them makes scrolling lists overflow.
57
className: cn(
57
- "relative inline-flex shrink-0 cursor-pointer items-center whitespace-nowrap border outline-none transition-[box-shadow,scale] [&:not([aria-haspopup]):not(:disabled):not([aria-disabled=true])]:will-change-[scale] [&:active:not([aria-haspopup])]:scale-[0.97] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 disabled:pointer-events-none disabled:opacity-64 aria-disabled:cursor-not-allowed aria-disabled:opacity-64 [&_svg]:shrink-0",
58
+ "relative inline-flex shrink-0 cursor-pointer items-center whitespace-nowrap border outline-none transition-[box-shadow,scale] [&:not([aria-haspopup]):not(:disabled):not([aria-disabled=true])]:will-change-[scale] [&:active:not([aria-haspopup])]:scale-[0.97] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background pointer-coarse:after:absolute pointer-coarse:after:top-1/2 pointer-coarse:after:left-1/2 pointer-coarse:after:size-full pointer-coarse:after:min-h-8 pointer-coarse:after:min-w-8 pointer-coarse:after:-translate-x-1/2 pointer-coarse:after:-translate-y-1/2 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 disabled:pointer-events-none disabled:opacity-64 aria-disabled:cursor-not-allowed aria-disabled:opacity-64 [&_svg]:shrink-0",
59
parts[part],
60
multiline && "h-auto min-h-8 py-1.5 disabled:opacity-100 sm:h-auto",
61
tone === "muted" && "text-muted-foreground hover:text-foreground/80",