From 92e68b089840c0222231e24a74954c4b2ff1361a Mon Sep 17 00:00:00 2001 From: Joel Davies Date: Tue, 23 Apr 2024 09:49:18 +0000 Subject: [PATCH] Remove zIndex fix for system items fullscreen --- src/systems/systemItemsTable.component.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/systems/systemItemsTable.component.tsx b/src/systems/systemItemsTable.component.tsx index 2da8ecf89..fbd605bb9 100644 --- a/src/systems/systemItemsTable.component.tsx +++ b/src/systems/systemItemsTable.component.tsx @@ -626,12 +626,10 @@ export function SystemItemsTable(props: SystemItemsTableProps) { rowSelection: rowSelection, }, // MUI - muiTablePaperProps: ({ table }) => ({ + muiTablePaperProps: () => ({ // sx doesn't work here currently - see https://www.material-react-table.com/docs/guides/full-screen-toggle style: { maxWidth: '100%', - // SciGateway navigation drawer is 1200, modal is 1300 - zIndex: table.getState().isFullScreen ? 1210 : undefined, }, }), muiTableContainerProps: ({ table }) => ({