Skip to content

Commit ad0d101

Browse files
committed
fix: improve loader styling in ComponentPreview for better visibility
1 parent e3a935e commit ad0d101

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/website/src/components/docs/component-preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const ComponentPreview = ({ component, children }: ComponentPreviewProps) => {
4646
<Showcase title="Preview">
4747
<Suspense
4848
fallback={
49-
<div className="flex items-center justify-center text-sm">
50-
<LoaderIcon className="mr-2 h-4 w-4 animate-spin" />
49+
<div className="flex flex-col items-center justify-center text-sm text-neutral-700 dark:text-neutral-300">
50+
<LoaderIcon size={14} className="animate-spin" />
5151
<span>Preparing...</span>
5252
</div>
5353
}

0 commit comments

Comments
 (0)