fix(web): wrap long patch output lines instead of widening the run table
Chart Release / chart (push) Successful in 20s
Server Deploy / deploy (push) Successful in 1m14s

This commit is contained in:
2026-09-15 14:27:42 +00:00
parent fc10575b08
commit 0e464c4bb8
+7 -1
View File
@@ -50,7 +50,13 @@ function ServerRow({ s }: { s: PatchServerRun }) {
{open && s.output && (
<Tr>
<Td colSpan={5}>
<pre className="max-h-96 overflow-auto rounded bg-well px-4 py-3 font-mono text-[11.5px] leading-relaxed text-text-secondary">{s.output}</pre>
{/*
* Wrap rather than scroll sideways: a pre sizes its table
* cell to its longest line, so one long apt or dnf line
* widened the whole table. overflow-wrap:anywhere also
* breaks a single unbroken token such as a mirror URL.
*/}
<pre className="max-h-96 w-full min-w-0 overflow-y-auto whitespace-pre-wrap rounded bg-well px-4 py-3 font-mono text-[11.5px] leading-relaxed text-text-secondary [overflow-wrap:anywhere]">{s.output}</pre>
</Td>
</Tr>
)}