Skip to content

Commit

Permalink
update spinner styles
Browse files Browse the repository at this point in the history
  • Loading branch information
xvvvyz committed Oct 30, 2024
1 parent 0e6bfe3 commit 7a67f39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/_components/spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ const Spinner = ({
loadingText,
}: SpinnerProps) => (
<div
className={twMerge('flex h-5 w-5 items-center justify-center', className)}
className={twMerge(
'flex h-5 w-5 shrink-0 items-center justify-center',
className,
)}
>
<div
aria-busy
aria-label={loadingText}
className={twMerge(
'h-[0.9rem] w-[0.9rem] animate-spin rounded-full border-2',
'h-[0.9rem] w-[0.9rem] animate-spin rounded-full border-[1.5px]',
color,
'border-l-transparent',
)}
Expand Down

0 comments on commit 7a67f39

Please sign in to comment.