Skip to content

Commit 3c98897

Browse files
fahchenclaude
andcommitted
fix(dashboard): all tables wrap in overflow-x-auto so narrow viewports scroll
Sweep of every Kumo Table wrapper across the routes. Eight LayerCard. Primary wraps that contain a Table got switched from overflow-hidden p-0 → overflow-x-auto p-0: - InboxPage workitems table - EnactmentListPage enactments table - EnactmentDetailPage Markings tab - EnactmentDetailPage Workitems tab - EnactmentDetailPage Occurrences tab - EnactmentDetailPage Debug bindings table - TelemetryPage global feed table - FlowDetailPage enactments table Telemetry tab on EnactmentDetail was already overflow-x-auto from the earlier 5683807 / a7e2529 fix. The two diagram-column LayerCard wraps stay overflow-hidden — they host ReactFlow which manages its own viewport, not a Table. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 227fb9d commit 3c98897

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

dashboard/ui/src/routes/EnactmentDetailPage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ function MarkingsTab({
895895
description="The enactment currently has no tokens on any place."
896896
/>
897897
) : (
898-
<LayerCard.Primary className="overflow-hidden p-0">
898+
<LayerCard.Primary className="overflow-x-auto p-0">
899899
<Table>
900900
<Table.Header>
901901
<Table.Row>
@@ -944,7 +944,7 @@ function WorkitemsTab({
944944
}
945945

946946
return (
947-
<LayerCard.Primary className="overflow-hidden p-0">
947+
<LayerCard.Primary className="overflow-x-auto p-0">
948948
<Table>
949949
<Table.Header>
950950
<Table.Row>
@@ -1008,7 +1008,7 @@ function OccurrencesTab({ rows }: { rows: readonly OccurrenceRow[] }) {
10081008
}
10091009

10101010
return (
1011-
<LayerCard.Primary className="overflow-hidden p-0">
1011+
<LayerCard.Primary className="overflow-x-auto p-0">
10121012
<Table>
10131013
<Table.Header>
10141014
<Table.Row>
@@ -1393,7 +1393,7 @@ function DebugTab({
13931393
data-testid="debug-no-candidates"
13941394
/>
13951395
) : (
1396-
<LayerCard.Primary className="overflow-hidden p-0">
1396+
<LayerCard.Primary className="overflow-x-auto p-0">
13971397
<Table>
13981398
<Table.Header>
13991399
<Table.Row>

dashboard/ui/src/routes/EnactmentListPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function ListContent({
175175
/>
176176
</ListControls>
177177

178-
<LayerCard.Primary className="overflow-hidden p-0">
178+
<LayerCard.Primary className="overflow-x-auto p-0">
179179
{rows.length === 0 ? (
180180
<ListEmpty />
181181
) : filteredRows.length === 0 ? (

dashboard/ui/src/routes/FlowDetailPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function EnactmentsSection({
354354
}) {
355355
return (
356356
<LayerCard.Primary
357-
className="overflow-hidden p-0"
357+
className="overflow-x-auto p-0"
358358
data-testid="flow-detail-enactments"
359359
>
360360
<div className="flex items-center justify-between border-b border-cf-border px-5 py-3">

dashboard/ui/src/routes/InboxPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function InboxContent({ inbox }: { inbox: InboxProxy }) {
214214
/>
215215
</ListControls>
216216

217-
<LayerCard.Primary className="overflow-hidden p-0">
217+
<LayerCard.Primary className="overflow-x-auto p-0">
218218
{workitems.length === 0 ? (
219219
<InboxEmpty />
220220
) : filteredRows.length === 0 ? (

dashboard/ui/src/routes/TelemetryPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function TelemetryContent({
183183
/>
184184
</ListControls>
185185

186-
<LayerCard.Primary className="overflow-hidden p-0">
186+
<LayerCard.Primary className="overflow-x-auto p-0">
187187
{entries.length === 0 ? (
188188
<TelemetryEmpty />
189189
) : filteredRows.length === 0 ? (

0 commit comments

Comments
 (0)