Skip to content

Commit

Permalink
fix(input): Fix left icon not being displayed in the text-input
Browse files Browse the repository at this point in the history
  • Loading branch information
pallendes committed Sep 22, 2023
1 parent 09363e0 commit 0224afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/form-field/text-input/text-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ export const TextInput = ({
<div className={classNames("relative w-full", formFieldGroupStyles)}>
{LeftIcon ? (
<div
className="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"
className="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3 z-20"
aria-hidden="true"
>
<LeftIcon className="text-gray-400 h-4 w-4 fill-neutral-600" />
<LeftIcon className="text-gray-400 h-3.5 w-3.5 fill-neutral-600" />
</div>
) : null}

Expand Down

0 comments on commit 0224afa

Please sign in to comment.