Skip to content

Commit

Permalink
ui-core: fix ui-core/input with small props
Browse files Browse the repository at this point in the history
Signed-off-by: SharglutDev <[email protected]>
  • Loading branch information
SharglutDev committed Feb 28, 2025
1 parent 88ff89d commit f0ca537
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions ui-core/src/components/inputs/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
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 && (
Expand Down
2 changes: 0 additions & 2 deletions ui-core/src/styles/inputs/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@
}

&.small {
height: 2.125rem;

.leading-content-wrapper {
height: 1.75rem;
border-radius: 0.188rem 0 0 0.188rem;
Expand Down

0 comments on commit f0ca537

Please sign in to comment.