From a691b81a99a09873b05c665c2726139d08d376d1 Mon Sep 17 00:00:00 2001 From: kuannnn Date: Thu, 26 Mar 2026 10:44:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20loading=20claw=20pincers=20clipped=20whe?= =?UTF-8?q?n=20opening=20=E2=80=94=20expand=20SVG=20viewBox=20+=20remove?= =?UTF-8?q?=20overflow-hidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/LoadingAnimation.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/ui/LoadingAnimation.tsx b/src/components/ui/LoadingAnimation.tsx index e7fe014..1bb1fbf 100644 --- a/src/components/ui/LoadingAnimation.tsx +++ b/src/components/ui/LoadingAnimation.tsx @@ -6,9 +6,9 @@ import { cn } from '@/lib/utils'; */ const sizeConfig = { - sm: { svgW: 24, svgH: 18, dotSize: 3, dotGap: 5, dots: 3, height: 'h-8' }, - md: { svgW: 48, svgH: 36, dotSize: 4, dotGap: 8, dots: 5, height: 'h-12' }, - lg: { svgW: 64, svgH: 48, dotSize: 5, dotGap: 10, dots: 6, height: 'h-16' }, + sm: { svgW: 28, svgH: 24, dotSize: 3, dotGap: 5, dots: 3, height: 'h-10' }, + md: { svgW: 56, svgH: 48, dotSize: 4, dotGap: 8, dots: 5, height: 'h-14' }, + lg: { svgW: 72, svgH: 60, dotSize: 5, dotGap: 10, dots: 6, height: 'h-20' }, } as const; interface Props { @@ -22,7 +22,7 @@ function PixelClaw({ width, height }: { width: number; height: number }) { @@ -48,7 +48,7 @@ export function LoadingAnimation({ size = 'md', label, className }: Props) { return (
-
+
{/* Claw walks right */}