The mdb scss file imports the core bootstrap scss files during recompile but yet the change is not reflected.
Bootstrap gutter width change.
The container or container fluid parent may need to be adjusted too to avoid unwanted overflow using again matching padding utility.
Bootstrap is a popular ui library for any javascript apps.
For the variable to reduce the spacing grid gutter width.
The bootstrap 4 grid system has five classes col extra small devices screen width less than 576px col sm small devices screen width equal to or greater than 576px col md medium devices screen width equal to or greater than 768px col lg large devices screen width equal to or greater than 992px col xl xlarge devices screen width equal to or greater than 1200px.
To change the gutters in a given row pair a negative margin utility on the row and matching padding utilities on the cols.
The change is not reflected and the gutter spacing remains the same.
See how aspects of the bootstrap grid system work across multiple devices with a handy table.
This is because the viewport width is in pixels and does not change with the font size.
While bootstrap uses em s or rem s for defining most sizes px s are used for grid breakpoints and container widths.
Bootstrap 5 is in alpha when this is written and it s subject to change.