From c5f26ca666fcd5c1ce0625ce9a27525d0f36b6c5 Mon Sep 17 00:00:00 2001 From: Gabriele Petronella Date: Wed, 23 Oct 2024 14:57:02 +0200 Subject: [PATCH] Fix layout glitches --- .../src/DateField/Input.tsx | 28 ++++++++++--------- .../src/Field/Field.css.ts | 13 +++++++-- .../src/NumberField/BaseNumberInput.tsx | 1 + 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/packages/bento-design-system/src/DateField/Input.tsx b/packages/bento-design-system/src/DateField/Input.tsx index ef7149117..40e9016a1 100644 --- a/packages/bento-design-system/src/DateField/Input.tsx +++ b/packages/bento-design-system/src/DateField/Input.tsx @@ -144,19 +144,21 @@ export function Input(props: Props) { disabled={isDisabled} readOnly={isReadOnly} > - {props.type === "single" ? ( - - ) : ( - - - - - - - - - - )} + + {props.type === "single" ? ( + + ) : ( + + + + + + + + + + )} + {!isReadOnly && (