From 27c7372a31bbf6aa8fac813249942c44f73f5424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 28 Feb 2026 17:13:47 +0100 Subject: [PATCH] style: match ToggleGroup style to QR preview (outline variant, h-6 compact items) Co-Authored-By: Claude Sonnet 4.6 --- components/animate/AnimationPreview.tsx | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/components/animate/AnimationPreview.tsx b/components/animate/AnimationPreview.tsx index 16d689c..788e605 100644 --- a/components/animate/AnimationPreview.tsx +++ b/components/animate/AnimationPreview.tsx @@ -56,9 +56,9 @@ export function AnimationPreview({ config, element, onElementChange }: Props) { Preview - v && setSpeed(v)}> + v && setSpeed(v)} variant="outline" size="sm"> {SPEEDS.map((s) => ( - + {s.label} ))} @@ -102,20 +102,15 @@ export function AnimationPreview({ config, element, onElementChange }: Props) { {/* Controls */}
- v && onElementChange(v as PreviewElement)} - className="gap-1" - > - - + v && onElementChange(v as PreviewElement)} variant="outline" size="sm"> + + - - + + - - + +