My web page includes several screenshots to illustrate the issue I am facing. One of my challenges is the scroll bar below the table, which I find displeasing. In an attempt to resolve this, I decided to adjust the lateral margins slightly. Here's a summary of what I have tried so far:
- Specify margins manually. The result: loss of centering.
<div class="container m-2">
https://i.stack.imgur.com/9AkEn.png
- Using
conainer-sm
. The result: no margins at all.
<div class="container-sm">
https://i.stack.imgur.com/pKxH6.png
- Combine both methods. Result: difficult to describe, but odd.
<div class="container-sm m-2">
https://i.stack.imgur.com/mm3Yv.png
- Using
mx
. Result: lack of centering.
<div class = "container mx-4">
https://i.stack.imgur.com/v6KTM.png
I also consulted StackOverflow and Google for solutions on reducing the container's lateral margins without overriding Bootstrap's CSS with a custom stylesheet. Is creating a custom CSS for such minor adjustments excessive?
Lastest findings suggest the issue may be related to the container
's max-width
, where increasing it reduces the margins, along with the outer-most row
. The dashed area defines the increased margin on the right side.
https://i.stack.imgur.com/1YLZw.png
It seems that utilizing mw-100
and justify-content-center
could potentially resolve this matter. Only time will tell.