Skip to content

Commit

Permalink
fix: fix z-index of the fullscreen container for Tables
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Feb 5, 2024
1 parent b6fbc4b commit a91fd5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/inputs/Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ const useStyles = makeStyles((theme) => ({
position: 'fixed',
height: '100%',
width: '100%',
zIndex: '2',
// z-index for the fullscreen container must be higher than 1200 to hide the app bar and drawers, but lower than
// 1300 to still appear under modals & tooltips (see https://mui.com/material-ui/customization/z-index/ for details)
zIndex: '1250',
},
fullscreenGridBorder: {
border: theme.spacing(2) + ' solid',
Expand Down

0 comments on commit a91fd5f

Please sign in to comment.