diff options
author | Michael Hunteman <huntemanmt@gmail.com> | 2025-01-25 22:41:02 -0600 |
---|---|---|
committer | Michael Hunteman <huntemanmt@gmail.com> | 2025-01-25 22:41:02 -0600 |
commit | e90993daf81ec6c4ff151170c3a35d3597ca110a (patch) | |
tree | b60242c1828788409b11a601a75f79d2e0280c82 | |
parent | 5d38bcdee9f047ad4cc6e533a14bfede7f41ab2f (diff) |
Fix table width and subrow expansion
-rw-r--r-- | client/src/components/Dashboard.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/components/Dashboard.tsx b/client/src/components/Dashboard.tsx index 8b005df..8ba5538 100644 --- a/client/src/components/Dashboard.tsx +++ b/client/src/components/Dashboard.tsx @@ -90,6 +90,7 @@ function Dashboard() { paginationDisplayMode: 'pages', enableExpanding: true, filterFromLeafRows: true, + paginateExpandedRows: false, getSubRows: (row) => row.partyList as Guest[], }); @@ -100,7 +101,7 @@ function Dashboard() { justifyContent: 'center', }} > - <div style={{ marginTop: 128 }}> + <div style={{ marginTop: 128, width: '90%' }}> <ThemeProvider theme={tableTheme}> <MaterialReactTable table={table} /> </ThemeProvider> |