From 0927218eea76ea1aa05078a1de8cb1e224bdcfb0 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 30 Mar 2024 02:43:30 +0000 Subject: [PATCH] form fixes --- components/FormAmount.module.css | 2 +- components/FormAmount.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/FormAmount.module.css b/components/FormAmount.module.css index 5b2dd5a..9cccca7 100644 --- a/components/FormAmount.module.css +++ b/components/FormAmount.module.css @@ -4,7 +4,7 @@ .input { all: unset; - width: auto; + width: 70px; padding-left: 0.2rem; padding-right: 0.2rem; text-align: center; diff --git a/components/FormAmount.tsx b/components/FormAmount.tsx index 4df7353..05f9b12 100644 --- a/components/FormAmount.tsx +++ b/components/FormAmount.tsx @@ -14,7 +14,6 @@ export function FormAmount({ type="text" value={amount} onChange={(e) => setAmount(Number(e.target.value))} - size={1} /> )