Navbar sticky Going out of page
I've set up some js so when you scroll down, the top navbar becomes position: fixed. However; I am getting this issue where it appears the navbar goes beyond 100% of the screen as it stretches horizontally to the right and out of view. What could be causing this? I have a default container margin: 0 8rem;
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1234545036683776000/Screenshot_47.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1234545037040156672/Screenshot_46.png)
1 Reply
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1234545406835429426/Screenshot_48.png)