diff --git a/ui/src/views/Baseline.jsx b/ui/src/views/Baseline.jsx index c145c03..104bc37 100644 --- a/ui/src/views/Baseline.jsx +++ b/ui/src/views/Baseline.jsx @@ -174,9 +174,9 @@ export default function Baseline({ sources = [], sourceId, versions = [], versio const longest = values.reduce((n, v) => Math.max(n, String(v || '').length), 0) return `${Math.min(max, Math.max(min, longest + 2))}ch` } - const labelW = widthCh(log.map(e => e.label || e.tag || e.note), 18, 40) - const bucketW = widthCh(log.map(e => e.bucket), 16, 28) - const noteW = widthCh(log.map(e => e.note), 24, 60) + const labelW = widthCh(log.map(e => e.label || e.tag || e.note), 18, 34) + const bucketW = widthCh(log.map(e => e.bucket), 16, 24) + const noteW = widthCh(log.map(e => e.note), 22, 44) function loadLog() { fetch(`/api/versions/${versionId}/log`).then(r => r.json()).then(data => { @@ -354,10 +354,11 @@ export default function Baseline({ sources = [], sourceId, versions = [], versio return (
- {/* Uncapped: the segment table is eleven columns, and at max-w-4xl (896px) - something always got smashed no matter how the widths were divided. The - blocks that read better narrow keep their own caps. */} -
+ {/* No page-wide cap and no stretching: at max-w-4xl (896px) the eleven-column + segment table always had something smashed, and uncapped it ran to the + window. items-start makes each block as wide as its own content needs, + which for the table is the measured column widths below. */} +
{msg && (
@@ -406,7 +407,7 @@ export default function Baseline({ sources = [], sourceId, versions = [], versio {versionId && <> {/* Segments loaded */} -
+
Segments loaded @@ -418,7 +419,7 @@ export default function Baseline({ sources = [], sourceId, versions = [], versio