From 80fb79dedd8e76744365e479df5b06b639697aae Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Tue, 1 Sep 2026 00:39:55 +0200 Subject: [PATCH] fix: minor design bug --- frontend/src/components/AmountStepper.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/AmountStepper.tsx b/frontend/src/components/AmountStepper.tsx index 9b5e687..ae987d1 100644 --- a/frontend/src/components/AmountStepper.tsx +++ b/frontend/src/components/AmountStepper.tsx @@ -17,14 +17,17 @@ export const AmountStepper = ({ const step = (delta: number) => onChange(Math.max(min, (value || 0) + delta)); return ( -
+
step(-1)} - className="transition-transform active:scale-90" + className="flex-none transition-transform active:scale-90" sx={{ borderRadius: 0 }} > @@ -32,6 +35,7 @@ export const AmountStepper = ({ { const nextValue = Number(e.target.value); onChange(Number.isNaN(nextValue) ? min : Math.max(min, nextValue)); @@ -51,7 +55,7 @@ export const AmountStepper = ({ variant="plain" size="lg" onClick={() => step(1)} - className="transition-transform active:scale-90" + className="flex-none transition-transform active:scale-90" sx={{ borderRadius: 0 }} >