Skip to content

Commit

Permalink
#237 - Fixing anchor in mobile menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mlfaa committed Dec 15, 2021
1 parent 5689005 commit 2f0a44e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function PageNavbar(props) {
return (
<Toolbar>
<Drawer
anchor="up"
anchor="top"
open={drawerOpen}
onClose={handleDrawerClose}
classes={{ paper: drawerMobile }}
Expand Down
2 changes: 2 additions & 0 deletions src/layouts/Navbar/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const useStyles = makeStyles((theme) => ({
background: 'black',
color: 'white',
width: '100%',
height: '-webkit-fill-available',
},
tab: {
height: '92%',
Expand Down Expand Up @@ -57,6 +58,7 @@ const useStyles = makeStyles((theme) => ({
},
toolbarContentMobile: {
width: '100%',
height: '100%',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
Expand Down

0 comments on commit 2f0a44e

Please sign in to comment.