Skip to content

Commit

Permalink
fix: avoid displaying search bar twice on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
juansemprun committed Aug 9, 2022
1 parent 9f38c77 commit 01de6c3
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 01de6c3

Please sign in to comment.