From 9448d7278d5a2835ff3b0be9faea9aa2e1a0c55d Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 19 Jan 2026 21:12:01 +0100 Subject: [PATCH] Fix input width --- code/core/src/components/components/Form/Input.tsx | 1 + code/core/src/components/components/Form/styles.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/core/src/components/components/Form/Input.tsx b/code/core/src/components/components/Form/Input.tsx index 0a263f06cfc0..11edcb0543c6 100644 --- a/code/core/src/components/components/Form/Input.tsx +++ b/code/core/src/components/components/Form/Input.tsx @@ -83,6 +83,7 @@ export const Input = Object.assign( }) )(styles, sizes, alignment, validation, { minHeight: 32, + width: '100%', }), { displayName: 'Input', diff --git a/code/core/src/components/components/Form/styles.ts b/code/core/src/components/components/Form/styles.ts index 9d43f09148ea..9f4a2b0a5664 100644 --- a/code/core/src/components/components/Form/styles.ts +++ b/code/core/src/components/components/Form/styles.ts @@ -73,7 +73,7 @@ const styleResets: CSSObject = { appearance: 'none', border: '0 none', boxSizing: 'inherit', - display: ' block', + display: 'block', margin: ' 0', background: 'transparent', padding: 0,