Kanika637 / amazon-clone

Clone of Amazon Website
MIT License
89 stars 100 forks source link

Side-Nav Closing issue #149

Closed mecskyverse closed 1 year ago

mecskyverse commented 1 year ago

Describe the bug

In Navbar after Clicking on All, Sidebar is visible image In sideBar, the closing button is overlapping on the scroll bar of the SideBar. This makes it a problem to close the Sidebar which you can see in this video. image

https://www.loom.com/share/ec62425c18134dbcb38d59f80144997d

while clicking at X button scrollbar is clicking and you have to click at the leftmost corner of the X button to make it work.

Expected behaviour

Side-Nav-head and Side-Nav-body should have some CSS changes to make it work like this. image

For Now Side-Nav-head and Side-Nav-body have common CSS class named Side-Nav which is causing the problem.

Screenshots

No response

Additional context

No response

mecskyverse commented 1 year ago

Hey! @Kanika637 I have completed my other issues can you assign me this issue as the hactoberfest's last date is near?

Kanika637 commented 1 year ago

Hey @mecskyverse, Thanks for opening the issue. Go ahead🚀