From e90993daf81ec6c4ff151170c3a35d3597ca110a Mon Sep 17 00:00:00 2001
From: Michael Hunteman <huntemanmt@gmail.com>
Date: Sat, 25 Jan 2025 22:41:02 -0600
Subject: Fix table width and subrow expansion

---
 client/src/components/Dashboard.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'client')

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>
-- 
cgit v1.2.3