feat(code-editor): enhance loading state with padding and rounded corners for better aesthetics

This commit is contained in:
cfngc4594 2025-02-26 15:16:24 +08:00
parent e108244121
commit 0fa89804bc

View File

@ -27,7 +27,11 @@ const Editor = dynamic(
},
{
ssr: false,
loading: () => <Skeleton className="h-full w-full" />,
loading: () => (
<div className="h-full w-full p-10 pt-2">
<Skeleton className="h-full w-full rounded-3xl" />
</div>
),
}
);