fix: loader styles

This commit is contained in:
Daniel Lautzenheiser 2023-04-11 08:28:42 -04:00
parent eaaaab3552
commit fab26ab273

View File

@ -35,7 +35,19 @@ const Loader = ({ children }: LoaderProps) => {
}, [children, currentItem]); }, [children, currentItem]);
return ( return (
<div className="absolute inset-0 flex flex-col gap-2 items-center justify-center"> <div
className="
absolute
inset-0
flex
flex-col
gap-2
items-center
justify-center
bg-slate-50
dark:bg-slate-900
"
>
<CircularProgress /> <CircularProgress />
<div>{text}</div> <div>{text}</div>
</div> </div>