Skip to content

Commit

Permalink
fix: searchbar display
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Nov 29, 2023
1 parent a688cd5 commit 10db320
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Fix: Add the V3 line in the popover menu & fix some hook issue around the V3 color scheme. Adapt the color scheme to the Dark, Light and V3.
- Rename path `vault-v3` to simple `v3`.
- Fix: Portals zap slippage too low.
- Fix: Searchbar on the vault details page was removed if the search was not giving any result.

# 0.1.25 (28/08/2023)

Expand Down
24 changes: 12 additions & 12 deletions apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ export function VaultDetailsStrategies({currentVault}: {currentVault: TYDaemonVa

return (
<>
<div className={cl(sortedVaultsToDisplay.length === 0 ? 'hidden' : '')}>
<div className={'col-span-12 w-full p-4 md:px-8 md:pb-8'}>
<div className={'w-1/2'}>
<p className={'pb-2 text-[#757CA6]'}>{'Search'}</p>
<SearchBar
className={'max-w-none rounded-lg border-none bg-neutral-300 text-neutral-900 md:w-full'}
iconClassName={'text-neutral-900'}
searchPlaceholder={'YFI Vault'}
searchValue={search as string}
onSearch={onSearch}
/>
</div>
<div className={'col-span-12 w-full p-4 md:px-8 md:pb-8'}>
<div className={'w-1/2'}>
<p className={'pb-2 text-[#757CA6]'}>{'Search'}</p>
<SearchBar
className={'max-w-none rounded-lg border-none bg-neutral-300 text-neutral-900 md:w-full'}
iconClassName={'text-neutral-900'}
searchPlaceholder={'YFI Vault'}
searchValue={search as string}
onSearch={onSearch}
/>
</div>
</div>
<div className={cl(sortedVaultsToDisplay.length === 0 ? 'hidden' : '')}>
<div className={'grid grid-cols-12 px-8 pb-6 md:gap-6'}>
<div className={'col-span-12 flex w-full flex-col'}>
<VaultsV3ListHead
Expand Down

0 comments on commit 10db320

Please sign in to comment.