Browse Source

Update comment

paging-sorting-filtering
mladen.dubovac 4 years ago
parent
commit
8c21110513
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/components/MUI/BackdropComponent.js

+ 1
- 1
src/components/MUI/BackdropComponent.js View File

@@ -6,7 +6,7 @@ import { alpha } from '@mui/system';
const BackdropComponent = ({ position = 'fixed', isLoading }) => (
<Backdrop
sx={{
// 'fixed' takes whole page, 'fixed' takes whole space of the parent element which needs to have 'relative' position
// 'fixed' takes whole page, 'absolute' takes whole space of the parent element which needs to have 'relative' position
position,
backgroundColor: ({ palette }) =>
alpha(palette.background.default, palette.action.disabledOpacity),

Loading…
Cancel
Save