Issue #3199224: Fixed Container type and Gutters layouts rendering In my opinion to make use of: Bootstrap 5 Horizontal gutters
https://getbootstrap.com/docs/5.0/layout/gutters/#horizontal-gutters and have the logic of no -container .gx - * classes can be used to control the horizontal gutter widths. The .container or .container-fluid parent may need to be adjusted if larger gutters are used too to avoid unwanted overflow, using a matching padding utility. For example, in the following example we’ve increased the padding with .px -4 Issue #3201141: Change .px-4 to use the right .gx-* CSS class from Bootstrap 5 to be used with Bootstrap 4 using the gutter size in px, not in rem to be inline with Bootstrap 4 Issue #3201146: Backport .gx- to Vartheme ...