Skip to content

Commit

Permalink
fix: send funds search input size overflow on ff (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKheops authored Oct 23, 2023
1 parent 414e958 commit e4be24f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/extension/src/@talisman/components/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const SearchInput: FC<SearchInputProps> = ({
ref={ref}
className={classNames("text-base", className)}
containerProps={containerProps}
before={<SearchIcon className="text-body-disabled" />}
before={<SearchIcon className="text-body-disabled shrink-0" />}
after={after}
placeholder={placeholder}
onChange={handleSearchChange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const SendFundsAccountPicker = () => {
<div className="flex h-full min-h-full w-full flex-col overflow-hidden">
<div className="flex min-h-fit w-full items-center gap-8 px-12 pb-8">
<div className="font-bold">{"From"}</div>
<div className="grow">
<div className="mx-1 grow overflow-hidden px-1">
<SearchInput onChange={setSearch} placeholder={t("Search by account name")} />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const SendFundsRecipientPicker = () => {
<div className="flex h-full min-h-full w-full flex-col overflow-hidden">
<div className="flex min-h-fit w-full items-center gap-8 px-12 pb-8">
<div className="font-bold">{t("To")}</div>
<div className="grow">
<div className="mx-1 grow overflow-hidden px-1">
<SearchInput
onValidate={handleValidate}
// eslint-disable-next-line jsx-a11y/no-autofocus
Expand All @@ -183,7 +183,7 @@ export const SendFundsRecipientPicker = () => {
placeholder={t("Enter address")}
after={
isEnsLookup && isEnsFetching ? (
<LoaderIcon className="text-body-disabled animate-spin-slow" />
<LoaderIcon className="text-body-disabled animate-spin-slow shrink-0" />
) : null
}
/>
Expand Down

0 comments on commit e4be24f

Please sign in to comment.