diff --git a/ui/src/components/StartupLogPanel.module.css b/ui/src/components/StartupLogPanel.module.css index c6b724b5..4551ec5b 100644 --- a/ui/src/components/StartupLogPanel.module.css +++ b/ui/src/components/StartupLogPanel.module.css @@ -4,6 +4,9 @@ border-radius: 6px; overflow: hidden; margin-top: 8px; + display: flex; + flex-direction: column; + min-height: 0; } .header { diff --git a/ui/src/components/StartupLogPanel.tsx b/ui/src/components/StartupLogPanel.tsx index 150989ab..27e156ce 100644 --- a/ui/src/components/StartupLogPanel.tsx +++ b/ui/src/components/StartupLogPanel.tsx @@ -8,9 +8,10 @@ interface StartupLogPanelProps { deployment: Deployment; appSlug: string; envSlug: string; + className?: string; } -export function StartupLogPanel({ deployment, appSlug, envSlug }: StartupLogPanelProps) { +export function StartupLogPanel({ deployment, appSlug, envSlug, className }: StartupLogPanelProps) { const isStarting = deployment.status === 'STARTING'; const isFailed = deployment.status === 'FAILED'; @@ -21,7 +22,7 @@ export function StartupLogPanel({ deployment, appSlug, envSlug }: StartupLogPane if (entries.length === 0 && !isStarting) return null; return ( -