fix(web): remove the terminal pane's app-canvas gutter (#6222)

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Jake LeventhalandClaude Opus 5 authored and GitHub committed 2026-08-19 18:26:45 -04:00
1 parent 62654d279f
commit 105cd5e0c5
1 file changed
+9 -4
@@ -978,7 +978,7 @@ export function TerminalViewport({
return (
<div
ref={containerRef}
className="relative h-full w-full overflow-hidden rounded-[4px] bg-background"
className="relative h-full w-full overflow-hidden bg-[var(--terminal-background)]"
/>
);
}
@@ -1483,7 +1483,12 @@ export default function ThreadTerminalDrawer({
)}
<div className="min-h-0 w-full flex-1">
<div className={`flex h-full min-h-0 ${hasTerminalSidebar ? "gap-1.5" : ""}`}>
<div
className={cn(
"flex h-full min-h-0 bg-[var(--terminal-background)]",
hasTerminalSidebar && "gap-1.5",
)}
>
<div className="min-w-0 flex-1">
{isSplitView ? (
<div
@@ -1518,7 +1523,7 @@ export default function ThreadTerminalDrawer({
}
}}
>
<div className="h-full p-1">
<div className="h-full">
<TerminalViewport
advancedTypography={advancedTypography}
threadRef={threadRef}
@@ -1546,7 +1551,7 @@ export default function ThreadTerminalDrawer({
})}
</div>
) : (
<div className="h-full p-1">
<div className="h-full">
<TerminalViewport
advancedTypography={advancedTypography}
key={resolvedActiveTerminalId}