From 27f2023104976d62f3f0c074ec10d0313f742748 Mon Sep 17 00:00:00 2001 From: Cyril Date: Fri, 30 Jan 2026 10:54:17 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(frontend)=20add=20reduced-mo?= =?UTF-8?q?tion=20spinner=20fallback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit show an hourglass when animations are reduced --- src/frontend/src/primitives/Spinner.tsx | 90 ++++++++++++++++--------- 1 file changed, 58 insertions(+), 32 deletions(-) diff --git a/src/frontend/src/primitives/Spinner.tsx b/src/frontend/src/primitives/Spinner.tsx index fb8b8344..ed305721 100644 --- a/src/frontend/src/primitives/Spinner.tsx +++ b/src/frontend/src/primitives/Spinner.tsx @@ -13,44 +13,70 @@ export const Spinner = ({ const r = 14 - strokeWidth const c = 2 * r * Math.PI return ( - + {({ percentage }) => ( - - - + + + + + )} )