Bläddra i källkod

Update comment

paging-sorting-filtering
mladen.dubovac 4 år sedan
förälder
incheckning
8c21110513
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/components/MUI/BackdropComponent.js

+ 1
- 1
src/components/MUI/BackdropComponent.js Visa fil

const BackdropComponent = ({ position = 'fixed', isLoading }) => ( const BackdropComponent = ({ position = 'fixed', isLoading }) => (
<Backdrop <Backdrop
sx={{ 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, position,
backgroundColor: ({ palette }) => backgroundColor: ({ palette }) =>
alpha(palette.background.default, palette.action.disabledOpacity), alpha(palette.background.default, palette.action.disabledOpacity),

Laddar…
Avbryt
Spara