aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-31 12:04:19 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-31 12:40:55 +0200
commitbe730ed8c5649aaf17bcc1f5920aad42a7d12635 (patch)
tree9d2957fdaa9a74d93bec315cd7414512c8eb9dfe
parentrefactor(frontend): pane button theme (diff)
downloadrefinery-be730ed8c5649aaf17bcc1f5920aad42a7d12635.tar.gz
refinery-be730ed8c5649aaf17bcc1f5920aad42a7d12635.tar.zst
refinery-be730ed8c5649aaf17bcc1f5920aad42a7d12635.zip
refactor(frontend): compact relation table
-rw-r--r--subprojects/frontend/src/table/RelationGrid.tsx1
-rw-r--r--subprojects/frontend/src/table/TableToolbar.tsx2
2 files changed, 1 insertions, 2 deletions
diff --git a/subprojects/frontend/src/table/RelationGrid.tsx b/subprojects/frontend/src/table/RelationGrid.tsx
index 4009a8b4..004982c9 100644
--- a/subprojects/frontend/src/table/RelationGrid.tsx
+++ b/subprojects/frontend/src/table/RelationGrid.tsx
@@ -96,6 +96,7 @@ function RelationGrid({ graph }: { graph: GraphStore }): JSX.Element {
96 graph, 96 graph,
97 }, 97 },
98 }} 98 }}
99 density="compact"
99 rowSelection={false} 100 rowSelection={false}
100 columns={columns} 101 columns={columns}
101 rows={rows} 102 rows={rows}
diff --git a/subprojects/frontend/src/table/TableToolbar.tsx b/subprojects/frontend/src/table/TableToolbar.tsx
index 7645deae..b14e73c5 100644
--- a/subprojects/frontend/src/table/TableToolbar.tsx
+++ b/subprojects/frontend/src/table/TableToolbar.tsx
@@ -8,7 +8,6 @@ import Stack from '@mui/material/Stack';
8import { 8import {
9 GridToolbarColumnsButton, 9 GridToolbarColumnsButton,
10 GridToolbarContainer, 10 GridToolbarContainer,
11 GridToolbarDensitySelector,
12 GridToolbarExport, 11 GridToolbarExport,
13 GridToolbarFilterButton, 12 GridToolbarFilterButton,
14} from '@mui/x-data-grid'; 13} from '@mui/x-data-grid';
@@ -34,7 +33,6 @@ export default function TableToolbar({
34 <Stack direction="row" flexWrap="wrap"> 33 <Stack direction="row" flexWrap="wrap">
35 <GridToolbarColumnsButton /> 34 <GridToolbarColumnsButton />
36 <GridToolbarFilterButton /> 35 <GridToolbarFilterButton />
37 <GridToolbarDensitySelector />
38 <GridToolbarExport /> 36 <GridToolbarExport />
39 </Stack> 37 </Stack>
40 <SymbolSelector graph={graph} /> 38 <SymbolSelector graph={graph} />