Fix expanded logs horizontal overflow
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,7 +109,7 @@ export function DeploymentLogs({ deploymentUuid, status, initialLogs }: Deployme
|
|||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
onScroll={handleScroll}
|
onScroll={handleScroll}
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
className="max-h-80 overflow-y-auto font-mono text-xs p-4 space-y-0.5"
|
className="max-h-80 overflow-y-auto overflow-x-auto font-mono text-xs p-4 space-y-0.5"
|
||||||
>
|
>
|
||||||
{logs.length === 0 ? (
|
{logs.length === 0 ? (
|
||||||
<div className="text-slate-500 dark:text-stone-500 text-center py-8">
|
<div className="text-slate-500 dark:text-stone-500 text-center py-8">
|
||||||
|
|||||||
@@ -358,8 +358,10 @@ export function DeploymentsTable({ deployments, isLoading, onRefresh }: Deployme
|
|||||||
</tr>
|
</tr>
|
||||||
{row.getIsExpanded() && (
|
{row.getIsExpanded() && (
|
||||||
<tr>
|
<tr>
|
||||||
<td colSpan={columns.length} className="p-0">
|
<td colSpan={columns.length} className="p-0 max-w-0">
|
||||||
|
<div className="overflow-hidden">
|
||||||
{renderExpandedRow(row)}
|
{renderExpandedRow(row)}
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user