TypeScript
fix(web): terminal drawer covers the turn minimap (#14383)
Sairaje560b26a6829
diff --git a/apps/web/src/components/ThreadTerminalDrawer.tsx b/apps/web/src/components/ThreadTerminalDrawer.tsxindex 5b4e7301752..411444f2a54 100644--- a/apps/web/src/components/ThreadTerminalDrawer.tsx+++ b/apps/web/src/components/ThreadTerminalDrawer.tsx@@ -1721,7 +1721,7 @@ export default function ThreadTerminalDrawer({data-terminal-owner={isPanel ? "right-panel" : "drawer"}className={cn("relative flex min-w-0 flex-col overflow-hidden bg-background",- isPanel ? "h-full flex-1" : "shrink-0 border-t border-border/80",+ isPanel ? "h-full flex-1" : "z-45 shrink-0 border-t border-border/80",)}style={isPanel ? undefined : { height: `${drawerHeight}px` }}>@@ -1758,7 +1758,7 @@ export default function ThreadTerminalDrawer({data-terminal-owner={isPanel ? "right-panel" : "drawer"}className={cn("relative flex min-w-0 flex-col overflow-hidden bg-background",- isPanel ? "h-full flex-1" : "shrink-0 border-t border-border/80",+ isPanel ? "h-full flex-1" : "z-45 shrink-0 border-t border-border/80",)}style={isPanel ? undefined : { height: `${drawerHeight}px` }}>diff --git a/apps/web/src/index.css b/apps/web/src/index.cssindex 72afd53fdbe..6d453088804 100644--- a/apps/web/src/index.css+++ b/apps/web/src/index.css@@ -110,7 +110,8 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil--command-shell-inset: 0.5rem;--command-content-inset: 1rem;--floating-content-inset: 0.75rem;- /* App layer order: docked sheets, then the floating preview player (47–49, see+ /* App layer order: the bottom terminal drawer (45, above the timeline minimap),+ docked sheets, then the floating preview player (47–49, seepreviewMiniPlayerLayout.ts), then dialogs and popovers (50 and up). */--z-sheet: 46;--glass-blur: 12px;