Skip to content

Commit

Permalink
fix: hide navbar if window is too narrow
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Oct 16, 2022
1 parent 707560e commit 1abe552
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const useStyles = createStyles((theme) => ({
paddingTop: 0,
boxShadow: theme.shadows.md,
fontSize: theme.fontSizes.xs,
[`@media (max-width: ${theme.breakpoints.sm}px)`]: {
display: 'none',
},
},
history: {
textDecoration: 'none',
Expand Down

0 comments on commit 1abe552

Please sign in to comment.