Files
Jyotisha/frontend/src/components/inline-spinner.tsx
T
Jesse_Chen a50c62a66c
Independent Staging Quality Gate / validate (push) Successful in 9m45s
Independent Staging Quality Gate / publish (push) Successful in 9m4s
fix(frontend): restore root 404 styles and unify inline wait spinners
Root error/not-found pages lost all CSS after globals left the shared
layout. Inline the same token fallbacks as global-error so admin stays
off the chat stylesheet. Collapse three LoaderCircle spins into one
InlineSpinner, and build greeting fixtures in local time so UTC CI
does not hit the night-time copy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 10:56:04 +08:00

15 lines
338 B
TypeScript

type InlineSpinnerProps = Readonly<{
size?: number;
className?: string;
}>;
export function InlineSpinner({ size = 16, className = "" }: InlineSpinnerProps) {
return (
<span
aria-hidden="true"
className={`inline-spinner${className ? ` ${className}` : ""}`}
style={{ width: size, height: size }}
/>
);
}