fix animation loader

This commit is contained in:
Wikzyy
2025-04-28 14:26:30 +07:00
parent 6d02b7787a
commit ade89ae993

View File

@ -4,7 +4,7 @@ import { RefreshCw } from 'lucide-react';
export const DataGridLoader = () => { export const DataGridLoader = () => {
return ( return (
<div className="absolute inset-0 bg-white/50 flex items-center justify-center z-50 text-muted-foreground px-4 py-2"> <div className="fixed inset-0 bg-white/50 flex items-center justify-center z-50 text-muted-foreground px-4 py-2">
<div className="bg-white flex items-center rounded-3xl"> <div className="bg-white flex items-center rounded-3xl">
<div className="flex flex-col items-center p-5"> <div className="flex flex-col items-center p-5">
<RefreshCw className="animate-spin h-8 w-8 text-slate-500 mb-2" /> <RefreshCw className="animate-spin h-8 w-8 text-slate-500 mb-2" />