I'm currently working on a website and facing some challenges. Right now, I'm building the dashboard section of the site, which includes a header with basic settings buttons (Home, Profile, and Log out), a navigation bar on the left side of the body page, and a main content area next to it. And, of course, there's a footer at the bottom.
The layout should resemble this design: https://i.sstatic.net/JWFh0.png
However, when I view it using the "toggle device toolbar" in devtools, it appears like this: https://i.sstatic.net/QMNt2.png
I need help troubleshooting this layout issue and preventing any overflow.
Here is the code snippet:
CSS and HTML code goes here...