From 575a317eed1e34c896d847f1901b258dc6766346 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 22 Oct 2025 15:31:59 +0700 Subject: [PATCH] refactor(FE-Storyless): update input components to ensure consistent background styling --- src/components/input/NumberInput.tsx | 58 ++++++++++++++++------------ src/components/input/TextArea.tsx | 2 +- src/components/input/TextInput.tsx | 2 +- 3 files changed, 35 insertions(+), 27 deletions(-) diff --git a/src/components/input/NumberInput.tsx b/src/components/input/NumberInput.tsx index 1b5559ed..4d6a7393 100644 --- a/src/components/input/NumberInput.tsx +++ b/src/components/input/NumberInput.tsx @@ -397,20 +397,24 @@ const NumberInput = ({
{/* Prefix Block */} {inputPrefix && ( -
- + )} + > + {inputPrefix}
@@ -419,7 +423,7 @@ const NumberInput = ({ {/* Input Wrapper */}
- + )} + > + {inputSuffix}
diff --git a/src/components/input/TextArea.tsx b/src/components/input/TextArea.tsx index 802e469c..34644021 100644 --- a/src/components/input/TextArea.tsx +++ b/src/components/input/TextArea.tsx @@ -87,7 +87,7 @@ const TextArea = ({