Skip to content

Commit d7c0c10

Browse files
lunelsonclaude
andcommitted
H-6364: Fix results layout — independent scroll containers
Use position:absolute + inset:0 on the outer container so both panels fill the available content area. Each panel scrolls independently. Evidence viewer max-width 780px, centered. minHeight:0 on flex parent allows children to shrink and scroll. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6345875 commit d7c0c10

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

apps/hash-frontend/src/pages/ingest/results.page.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,14 @@ const IngestResultsPage: NextPageWithLayout = () => {
8888
};
8989

9090
return (
91-
<>
91+
<Box
92+
sx={{
93+
display: "flex",
94+
flexDirection: "column",
95+
position: "absolute",
96+
inset: 0,
97+
}}
98+
>
9299
<WorkersHeader
93100
crumbs={[
94101
{ title: "Ingest", href: "/ingest", id: "ingest" },
@@ -156,7 +163,9 @@ const IngestResultsPage: NextPageWithLayout = () => {
156163
)}
157164

158165
{view && (
159-
<Box sx={{ display: "flex", flex: 1, overflow: "hidden" }}>
166+
<Box
167+
sx={{ display: "flex", flex: 1, minHeight: 0, overflow: "hidden" }}
168+
>
160169
<ResultsPanel
161170
rosterEntries={view.roster.entries}
162171
claims={view.claims}
@@ -169,7 +178,8 @@ const IngestResultsPage: NextPageWithLayout = () => {
169178
flex: 1,
170179
overflow: "auto",
171180
p: 2,
172-
maxWidth: 720,
181+
maxWidth: 780,
182+
mx: "auto",
173183
}}
174184
>
175185
<PageViewer
@@ -191,7 +201,7 @@ const IngestResultsPage: NextPageWithLayout = () => {
191201
</Box>
192202
</Box>
193203
)}
194-
</>
204+
</Box>
195205
);
196206
};
197207

0 commit comments

Comments
 (0)