mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(mdx-preview): enhance loading state with padding and rounded corners for better aesthetics
This commit is contained in:
parent
2fc11f58b0
commit
e108244121
@ -85,7 +85,11 @@ export default function MdxPreview({ source }: MdxPreviewProps) {
|
||||
}, [getMdxSource]);
|
||||
|
||||
if (isLoading) {
|
||||
return <Skeleton className="h-full w-full" />;
|
||||
return (
|
||||
<div className="h-full w-full p-10">
|
||||
<Skeleton className="h-full w-full rounded-3xl" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user