From 56ca5bcf7408b00c652f8c043dee4ac6466fdccc Mon Sep 17 00:00:00 2001 From: weixiang1862 <652048614@qq.com> Date: Tue, 23 Jun 2026 16:30:02 +0800 Subject: [PATCH] fix(mobile): subagent chevron overlaps session title on mobile (#1582) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `mobile.css` applies `min-width: 36px; min-height: 36px` to all `[role="button]` elements on mobile devices for touch targets, enlarging the subagent chevron from `14×14px to 36×36px`. This extends the chevron box 20px past the content edge, visually overlapping the session title. Add inline `minWidth/minHeight: 14` to pin the chevron size. --- packages/ui/src/components/session/sidebar/SessionNodeItem.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx b/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx index 75703af0..c3033866 100644 --- a/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx +++ b/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx @@ -548,6 +548,7 @@ function SessionNodeItemComponent(props: Props): React.ReactNode { toggleParent(expansionKey); } }} + style={{ minWidth: 14, minHeight: 14 }} className={cn( 'inline-flex h-3.5 w-3.5 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 transition-opacity', metadataSubsessionChevron