Skip to content

Commit 5832681

Browse files
committed
Scroll content of table
1 parent 990e461 commit 5832681

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/webapp/ui/src/eln-dmp-integration/DMPTool/DMPDialog.js

+2
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ function DMPDialogContent({ setOpen }: { setOpen: (boolean) => void }): Node {
232232
</Grid>
233233
<Grid item>
234234
<ScopeField getDMPs={getDMPs} />
235+
</Grid>
236+
<Grid item sx={{ overflowY: "auto" }} flexGrow={1}>
235237
<DataGrid
236238
columns={[
237239
{

src/main/webapp/ui/src/eln-dmp-integration/DMPTool/ScopeField.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function ScopeField({ getDMPs }: ScopeFieldArgs): Node {
3434
};
3535

3636
return (
37-
<Grid container spacing={2} sx={{ mb: 1 }}>
37+
<Grid container direction="row" spacing={2}>
3838
<Grid item>
3939
<RadioField
4040
value={currentScope}

0 commit comments

Comments
 (0)