Skip to content

Commit e560b26

Browse files
fix(web): terminal drawer covers the turn minimap (pingdotgg#14383)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 63e18df commit e560b26

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎apps/web/src/components/ThreadTerminalDrawer.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ export default function ThreadTerminalDrawer({
17211721
data-terminal-owner={isPanel ? "right-panel" : "drawer"}
17221722
className={cn(
17231723
"relative flex min-w-0 flex-col overflow-hidden bg-background",
1724-
isPanel ? "h-full flex-1" : "shrink-0 border-t border-border/80",
1724+
isPanel ? "h-full flex-1" : "z-45 shrink-0 border-t border-border/80",
17251725
)}
17261726
style={isPanel ? undefined : { height: `${drawerHeight}px` }}
17271727
>
@@ -1758,7 +1758,7 @@ export default function ThreadTerminalDrawer({
17581758
data-terminal-owner={isPanel ? "right-panel" : "drawer"}
17591759
className={cn(
17601760
"relative flex min-w-0 flex-col overflow-hidden bg-background",
1761-
isPanel ? "h-full flex-1" : "shrink-0 border-t border-border/80",
1761+
isPanel ? "h-full flex-1" : "z-45 shrink-0 border-t border-border/80",
17621762
)}
17631763
style={isPanel ? undefined : { height: `${drawerHeight}px` }}
17641764
>

‎apps/web/src/index.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
110110
--command-shell-inset: 0.5rem;
111111
--command-content-inset: 1rem;
112112
--floating-content-inset: 0.75rem;
113-
/* App layer order: docked sheets, then the floating preview player (47–49, see
113+
/* App layer order: the bottom terminal drawer (45, above the timeline minimap),
114+
docked sheets, then the floating preview player (47–49, see
114115
previewMiniPlayerLayout.ts), then dialogs and popovers (50 and up). */
115116
--z-sheet: 46;
116117
--glass-blur: 12px;

0 commit comments

Comments
 (0)