Skip to content

Commit

Permalink
Hide navbar on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
thedanielforum committed Jul 8, 2022
1 parent 5ed86be commit a1cb943
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/HeaderNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const HeaderNavbar: React.FC = () => {
};

return (
<header className="sticky top-0 h-12 border-b-2 border-gray-500 bg-white w-full mb-2 z-50">
<header className="sticky top-0 h-12 border-b-2 border-gray-500 bg-white w-full mb-2 z-50 navbar-header">
<div className="max-w-screen-md ml-auto mr-auto">
<div className="flex justify-between pt-2">
<button
Expand Down
6 changes: 6 additions & 0 deletions styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@
font-family: "IBM Plex Sans", sans-serif;
}
}

.navbar-header {
@media only screen and (max-width: 600px) {
display: none;
}
}

1 comment on commit a1cb943

@vercel
Copy link

@vercel vercel bot commented on a1cb943 Jul 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ikura – ./

ikura-zefhub.vercel.app
www.ikura.app
ikura.vercel.app
ikura-git-main-zefhub.vercel.app
ikura.app

Please sign in to comment.