Commit d2afd71c authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: change from flex to inline to fix safari bugs (#4559)

change from flex to inline to fix safari bugs
Co-authored-by: default avatarCharlie <charlie@uniswap.org>
parent bad1ce26
......@@ -27,6 +27,7 @@ export const searchBarContainer = style([
right: '0',
top: '0',
zIndex: '3',
display: 'inline-block',
}),
{
'@media': {
......
......@@ -332,7 +332,6 @@ 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'}
......@@ -388,8 +387,7 @@ export const SearchBar = () => {
/>
))}
</Box>
</Box>
{isOpen && <Overlay />}
</>
</Box>
)
}
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