File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from "react" ;
2+ import { ProgressSpinner } from "primereact/progressspinner" ;
23
34export default function LockScreen ( ) {
45 return (
56 < React . Fragment >
67 < div className = "dashboard-lock-screen" style = { styles . fullPage } />
78 < div className = "dashboard-lock-screen" style = { styles . contentBlanker } />
89 < div className = "dashboard-lock-screen" style = { styles . container } >
9- < div className = "center-screen" >
10-
10+ < div className = "center-screen" style = { styles . centerScreen } >
11+ < ProgressSpinner />
1112 </ div >
1213 </ div >
1314 </ React . Fragment >
@@ -37,7 +38,7 @@ const styles = {
3738 width : '100%' ,
3839 height : '100vh' ,
3940 backgroundColor : 'black' ,
40- opacity : 0.05 ,
41+ opacity : 0.5 ,
4142 display : 'none' ,
4243 userSelect : 'none'
4344 } ,
@@ -52,5 +53,12 @@ const styles = {
5253 height : '100vh' ,
5354 display : 'none' ,
5455 userSelect : 'none'
56+ } ,
57+ centerScreen : {
58+ display : 'flex' ,
59+ alignItems : 'center' ,
60+ justifyContent : 'center' ,
61+ width : '100%' ,
62+ height : '100%'
5563 }
5664} ;
You can’t perform that action at this time.
0 commit comments