web replay fix

This commit is contained in:
pj committed 2026-06-10 18:50:28 +05:30
1 parent 4ace78c36b
commit 229f015281
2 files changed
+43 -37

No files matched your search

+37 -35
View File
@@ -62,41 +62,43 @@ export default function RunList() {
} }
return ( return (
<table className="run-table"> <div className="run-list">
<thead> <table className="run-table">
<tr> <thead>
<th>started</th> <tr>
<th>spec</th> <th>started</th>
<th>seed</th> <th>spec</th>
<th>platform</th> <th>seed</th>
<th>duration</th> <th>platform</th>
<th>steps</th> <th>duration</th>
<th>violations</th> <th>steps</th>
<th></th> <th>violations</th>
</tr> <th></th>
</thead>
<tbody>
{runs.map((run) => (
<tr key={run.id}>
<td>
<Link to={`/runs/${run.id}`}>{formatStartedAt(run.started_at)}</Link>
</td>
<td title={run.spec_path}>{basename(run.spec_path)}</td>
<td>{run.seed}</td>
<td>{run.platform}</td>
<td>{formatDuration(run.duration_millis)}</td>
<td>{run.step_count}</td>
<td>
{run.violation_count > 0 ? (
<span className="chip chip-violation">{run.violation_count}</span>
) : (
"0"
)}
</td>
<td>{run.in_progress ? <span className="chip chip-progress">in progress</span> : null}</td>
</tr> </tr>
))} </thead>
</tbody> <tbody>
</table> {runs.map((run) => (
<tr key={run.id}>
<td>
<Link to={`/runs/${run.id}`}>{formatStartedAt(run.started_at)}</Link>
</td>
<td title={run.spec_path}>{basename(run.spec_path)}</td>
<td>{run.seed}</td>
<td>{run.platform}</td>
<td>{formatDuration(run.duration_millis)}</td>
<td>{run.step_count}</td>
<td>
{run.violation_count > 0 ? (
<span className="chip chip-violation">{run.violation_count}</span>
) : (
"0"
)}
</td>
<td>{run.in_progress ? <span className="chip chip-progress">in progress</span> : null}</td>
</tr>
))}
</tbody>
</table>
</div>
); );
} }
+6 -2
View File
@@ -57,11 +57,15 @@ button:hover {
min-height: 0; min-height: 0;
} }
.run-list {
height: 100%;
min-height: 0;
overflow: auto;
}
.run-table { .run-table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
align-self: flex-start;
flex: 0 0 auto;
} }
.run-table th, .run-table th,