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 25, 05:00 UTC
fix(web): prevent iOS Safari auto-zoom on input focus (#1652)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Marcus Grånäs committed
Apr 30, 2026 at 03:03 UTC
9acf46a76d60e31098034267b36fd4f6e3a15ea6
2 files changed
+5
-8
apps/web/src/components/ComposerPromptEditor.tsx
+4
-7
@@ -152,10 +152,7 @@ function ComposerMentionDecorator(props: { path: string }) {
152
return (
153
<Tooltip>
154
<TooltipTrigger render={chip} />
155
- <TooltipPopup
156
- side="top"
157
- className="max-w-[30rem] whitespace-normal leading-tight wrap-anywhere"
158
- >
155
+ <TooltipPopup side="top" className="max-w-120 whitespace-normal leading-tight wrap-anywhere">
156
{props.path}
157
</TooltipPopup>
158
</Tooltip>
@@ -275,7 +272,7 @@ function ComposerSkillDecorator(props: { skillLabel: string; skillDescription: s
272
return (
273
<Tooltip>
274
<TooltipTrigger render={chip} />
278
- <TooltipPopup side="top" className="max-w-[30rem] whitespace-normal leading-tight">
275
+ <TooltipPopup side="top" className="max-w-120 whitespace-normal leading-tight">
276
{props.skillDescription}
277
</TooltipPopup>
278
</Tooltip>
@@ -1624,7 +1621,7 @@ function ComposerPromptEditorInner({
1621
contentEditable={
1622
<ContentEditable
1623
className={cn(
1627
- "block max-h-[200px] min-h-17.5 w-full overflow-y-auto whitespace-pre-wrap break-words bg-transparent text-[14px] leading-relaxed text-foreground focus:outline-none",
1624
+ "block max-h-[200px] min-h-17.5 w-full overflow-y-auto whitespace-pre-wrap wrap-break-word bg-transparent text-base sm:text-[14px] leading-relaxed text-foreground focus:outline-none",
1625
className,
1626
)}
1627
data-testid="composer-editor"
@@ -1635,7 +1632,7 @@ function ComposerPromptEditorInner({
1632
}
1633
placeholder={
1634
terminalContexts.length > 0 ? null : (
1638
- <div className="pointer-events-none absolute inset-0 text-[14px] leading-relaxed text-muted-foreground/35">
1635
+ <div className="pointer-events-none absolute inset-0 text-base sm:text-[14px] leading-relaxed text-muted-foreground/35">
1636
{placeholder}
1637
</div>
1638
)
apps/web/src/components/Sidebar.tsx
+1
-1
@@ -568,7 +568,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
568
{renamingThreadKey === threadKey ? (
569
<input
570
ref={handleRenameInputRef}
571
- className="min-w-0 flex-1 truncate text-xs bg-transparent outline-none border border-ring rounded px-0.5"
571
+ className="min-w-0 flex-1 truncate text-base sm:text-xs bg-transparent outline-none border border-ring rounded px-0.5"
572
value={renamingTitle}
573
onChange={handleRenameInputChange}
574
onKeyDown={handleRenameInputKeyDown}