Skip to content

Commit

Permalink
Remove zIndex fix for system items fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvdavies committed Apr 23, 2024
1 parent 1592e50 commit 92e68b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/systems/systemItemsTable.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => ({
Expand Down

0 comments on commit 92e68b0

Please sign in to comment.