I made a page using Bootstrap and Galleria. It is a gallery page that has a navbar, so I tried to make the gallery fit in the most remaining space possible. Its width is defined as 100vw, so it should just fill the rest of the page, but it instead has a margin that begins before the end of the normal element and that creates a scroll bar for the page. I could remove the bar with body{ overflow: hidden; }
, but there are two probloms with that:
1) The space between the arrow buttons and the border of the page is not symmetrical, and
2) There is a big blank zone on small screens at the place where the faulty margin is, which is only an extension of the previous problem, but is even more apparent and would make the site bad for mobile.
Here is the code: https://codepen.io/algorev/pen/wpjqar