From d0e8ae322fab5dbe488ecb22f152ad7cc4a80ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 28 Feb 2026 17:33:03 +0100 Subject: [PATCH] style: move units into label text in KeyframeProperties SliderRow Co-Authored-By: Claude Sonnet 4.6 --- components/animate/KeyframeProperties.tsx | 25 +++++++++++------------ 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/components/animate/KeyframeProperties.tsx b/components/animate/KeyframeProperties.tsx index c74eb23..7bf9e6c 100644 --- a/components/animate/KeyframeProperties.tsx +++ b/components/animate/KeyframeProperties.tsx @@ -29,7 +29,9 @@ function SliderRow({ label, unit, value, min, max, step = 1, onChange }: SliderR return (
- + onChange(v)} />
-
- onChange(Number(e.target.value))} - className="w-16 text-xs px-1.5 h-7" - /> - {unit && {unit}} -
+ onChange(Number(e.target.value))} + className="w-16 text-xs px-1.5 h-7 mt-4" + />
); }