Ver código fonte

fix: pageLoading positon

kokoroli 5 anos atrás
pai
commit
84fd521ee4
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4 4
      src/components/PageLoading/index.jsx

+ 4 - 4
src/components/PageLoading/index.jsx

@@ -16,11 +16,11 @@ export const PageLoading = {
     const style = {
       textAlign: 'center',
       background: 'rgba(0,0,0,0.6)',
-      position: 'absolute',
-      width: '100%',
-      height: '100%',
-      left: 0,
+      position: 'fixed',
       top: 0,
+      bottom: 0,
+      left: 0,
+      right: 0,
       zIndex: 1100
     }
     const spinStyle = {