Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: send funds search input size overflow on ff #1125

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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