Skip to content

Commit

Permalink
Fix/epmrpp 97156 search field does not open (#56)
Browse files Browse the repository at this point in the history
* EPMRPP-97156 || Search field does not open upon clicking the left side of the loupe icon

* EPMRPP-97156 || remove extra line

* EPMRPP-97156 || fix icons style
  • Loading branch information
BlazarQSO authored Nov 25, 2024
1 parent d694702 commit a375af5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/fieldText/fieldText.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
height: 16px;
}

.start-icon,
.clear-icon {
@extend .icon;

Expand Down
2 changes: 1 addition & 1 deletion src/components/fieldText/fieldText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const FieldText = forwardRef<HTMLInputElement, FieldTextProps>(
input.current?.focus();
}}
>
<span className={cx('icon')}>{startIcon}</span>
<span className={cx('icon', { 'start-icon': !focused })}>{startIcon}</span>
</span>
)
)}
Expand Down

0 comments on commit a375af5

Please sign in to comment.