Commit 98d4e108 authored by Jack Short's avatar Jack Short Committed by GitHub

fix: search icon bug (#4556)

parent ab43ed19
......@@ -332,6 +332,7 @@ export const SearchBar = () => {
const placeholderText = phase1Flag === NftVariant.Enabled ? t`Search tokens and NFT collections` : t`Search tokens`
return (
<>
<Box position="relative">
<Box
position={isOpen ? { sm: 'fixed', md: 'absolute' } : 'static'}
......@@ -387,7 +388,8 @@ export const SearchBar = () => {
/>
))}
</Box>
{isOpen && <Overlay />}
</Box>
{isOpen && <Overlay />}
</>
)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment