From 4db8feab61f747204846e019a7cca6f98d2c4676 Mon Sep 17 00:00:00 2001
From: SharglutDev
Date: Thu, 27 Feb 2025 18:03:38 +0100
Subject: [PATCH] ui-core: fix ui-core/input with small props
Signed-off-by: SharglutDev
---
ui-core/src/components/inputs/Input.tsx | 4 +---
ui-core/src/styles/inputs/input.css | 2 --
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/ui-core/src/components/inputs/Input.tsx b/ui-core/src/components/inputs/Input.tsx
index 3cb40f86..7bcb229d 100644
--- a/ui-core/src/components/inputs/Input.tsx
+++ b/ui-core/src/components/inputs/Input.tsx
@@ -92,9 +92,7 @@ const Input = React.forwardRef(
statusWithMessage?.tooltip || narrow ? 'before-status-message' : undefined
}
narrow={narrow}
- className={cx('input-field-wrapper', inputFieldWrapperClassname, {
- small,
- })}
+ className={cx('input-field-wrapper', inputFieldWrapperClassname)}
onCloseStatusMessage={onCloseStatusMessage}
>
{leadingContent && (
diff --git a/ui-core/src/styles/inputs/input.css b/ui-core/src/styles/inputs/input.css
index 2b50c6ad..e475ed8a 100644
--- a/ui-core/src/styles/inputs/input.css
+++ b/ui-core/src/styles/inputs/input.css
@@ -215,8 +215,6 @@
}
&.small {
- height: 2.125rem;
-
.leading-content-wrapper {
height: 1.75rem;
border-radius: 0.188rem 0 0 0.188rem;