Skip to content

Commit

Permalink
fix: sidebar not appearing for certain width #281 (#282)
Browse files Browse the repository at this point in the history
## Description

This PR fixes the issue related to the sidebar.

## Screenshots


https://user-images.githubusercontent.com/88369802/234557778-1c1726da-885a-43cb-a27a-066136cb2657.mov

## Checklist

Please review and check off the following items before submitting your
PR:

 <!-- If yes then add 'x' into '[ ]'  -->

- [x] I have tested my changes to ensure they work as expected
- [ ] I have included documentation for any new features or changes
- [x] I have formatted my code according to the project's style
guidelines
- [ ] I have written tests for any new features or changes
- [x] I have run the project's test suite and verified that all tests
pass
- [ ] I have updated the README and any other relevant documentation
- [x] I have checked for any spelling or grammatical errors
  • Loading branch information
Syed-Ali-Abbas-Zaidi authored Apr 26, 2023
1 parent d816b2d commit 9228898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ const Navbar = () => {
</ul>
</div>
<Drawer
className="block md:hidden"
variant="temporary"
open={mobileOpen}
onClose={handleDrawerToggle}
ModalProps={{
keepMounted: true, // Better open performance on mobile.
}}
sx={{
display: { xs: "block", sm: "none" },
"& .MuiDrawer-paper": { boxSizing: "border-box", width: "56%" },
}}
>
Expand Down

1 comment on commit 9228898

@vercel
Copy link

@vercel vercel bot commented on 9228898 Apr 26, 2023

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:

projectshut – ./

projectshut.vercel.app
projectshut-git-main-priyankarpal.vercel.app
projectshut-priyankarpal.vercel.app

Please sign in to comment.