Skip to content

Commit

Permalink
Merge pull request pheralb#17 from juansemprun/bug/avoid-displaying-s…
Browse files Browse the repository at this point in the history
…earch-bar-twice

⚒️ fix: avoid displaying search bar twice on mobile devices
  • Loading branch information
pheralb committed Aug 9, 2022
2 parents 9f38c77 + 01de6c3 commit ba02d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const Header = () => {
</HStack>
</Flex>
<Collapse in={isOpen} animateOpacity>
<Box mt="3">
<Box mt="3" display={{ base:"none", md:"block" }}>
<Search />
</Box>
</Collapse>
Expand Down

0 comments on commit ba02d6e

Please sign in to comment.