mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-12-17 13:16:10 +00:00
chore: fix overflow on large results
This commit is contained in:
@@ -113,7 +113,6 @@ const JobTable: React.FC<JobTableProps> = ({ jobs, fetchJobs }) => {
|
|||||||
display="flex"
|
display="flex"
|
||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
minHeight="100vh"
|
minHeight="100vh"
|
||||||
p={3}
|
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
className="flex flex-col justify-start align-center items-center"
|
className="flex flex-col justify-start align-center items-center"
|
||||||
|
|||||||
@@ -238,6 +238,7 @@ const Home = () => {
|
|||||||
{results && (
|
{results && (
|
||||||
<>
|
<>
|
||||||
<Typography variant="h4">Results</Typography>
|
<Typography variant="h4">Results</Typography>
|
||||||
|
<Box style={{ maxHeight: "400px", overflow: "auto" }}>
|
||||||
<Table ref={resultsRef} style={{ marginTop: "20px" }}>
|
<Table ref={resultsRef} style={{ marginTop: "20px" }}>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
@@ -260,6 +261,7 @@ const Home = () => {
|
|||||||
))}
|
))}
|
||||||
</TableBody>
|
</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
|
</Box>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
Reference in New Issue
Block a user