Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
style: deleted Inputs static height
Browse files Browse the repository at this point in the history
  • Loading branch information
fers4t committed Jan 8, 2023
1 parent cb347ac commit 7f286ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
>
<div
className={
'relative box-border flex min-h-[40px] w-fit flex-row items-center ' +
'relative box-border flex w-fit flex-row items-center ' +
' transform text-sm transition duration-200 ' +
(disableMoving ? '' : ' focus-within:-translate-y-[2px] ') +
(rounded ? ' rounded-full' : ' rounded-lg') +
Expand Down Expand Up @@ -138,7 +138,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
// setIsInputActive(false)
// }}
className={
'relative z-20 box-border h-full w-fit bg-transparent pl-4 outline-none outline-0 outline-offset-0 ' +
'relative z-20 box-border h-full w-fit bg-transparent py-2 pl-4 outline-none outline-0 outline-offset-0 ' +
(className ? ' ' + className : '') +
(disabled ? ' pointer-events-none' : '')
}
Expand Down

0 comments on commit 7f286ef

Please sign in to comment.