Skip to content

Commit

Permalink
fix inputs with icon padding
Browse files Browse the repository at this point in the history
  • Loading branch information
jdinh8124 committed Sep 6, 2024
1 parent bf9455f commit 123c577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-app/src/components/Inputs/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
<input
className={cn(
"flex h-9 w-full rounded-sm border border-[#212121] bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
icon && (iconRight ? "pr-10" : "pl-10"),
className,
)}
ref={ref}
Expand Down

0 comments on commit 123c577

Please sign in to comment.