refactor(components): enhance Downloader UI

This commit is contained in:
Walid 2023-04-19 17:15:11 +00:00
parent b8dcbc4f5d
commit 4b4f58a426
Signed by: Walidoux
GPG Key ID: CCF21881FE8BEBAF

View File

@ -40,7 +40,7 @@ export const Downloader: React.FC<DownloaderProps> = ({
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { staggerChildren: 0.5 } }}
exit={{ opacity: 0 }}
className='pointer-events-none absolute left-0 top-0 flex h-full w-full flex-col items-center justify-center rounded-xl bg-black/70 pb-5 text-[12px] text-white'>
className='pointer-events-none text-center absolute left-0 top-0 flex h-full w-full flex-col items-center justify-center rounded-xl bg-black/70 pb-5 text-[12px] text-white'>
<motion.h1
initial={{ opacity: 0, y: -20 }}
animate={{ opacity: 1, y: 0 }}