fix(ui): restore equal gutters on container logs modal (#1771)

The terminal panel used w-full with mx-6, so width 100% plus horizontal margins overflowed the overflow-hidden modal and clipped the right gutter. Match BashExecModal by dropping w-full and adding min-h-0.
This commit is contained in:
Anso
2026-08-04 23:05:49 -04:00
committed by GitHub
parent a29d451875
commit 63a3594671
+1 -1
View File
@@ -75,7 +75,7 @@ export function LogViewer({ containerId, containerName, isOpen, onClose }: LogVi
<div
ref={scrollRef}
className="flex-1 w-full bg-[var(--terminal-bg)] text-success p-4 overflow-y-auto font-mono text-xs mx-6 mb-6 rounded-md"
className="flex-1 min-h-0 bg-[var(--terminal-bg)] text-success p-4 overflow-y-auto font-mono text-xs mx-6 mb-6 rounded-md"
>
{logs.length === 0 && !isConnected ? (
<div className="text-muted-foreground">Connecting to container stream...</div>