As a first-time user of Bootstrap, I have encountered an issue while building my website that I cannot seem to solve. Whenever I add large content that requires a scrollbar in the browser, the entire page shifts to the left.
In simpler terms, when a scrollbar is present, the page content moves about 17px to the left, but it functions correctly without a scrollbar. I do not want to use a permanent scrollbar like
overflow-y: scroll;
However, if I use
width: 100vw;
The content remains in place even with a scrollbar, but an unnecessary horizontal scrollbar also appears when there is a vertical one.