If you look in your template settings in the layout settings for Mainbody and then looking for a column called component.

Check that you do not have any other columns left and right and that the component column width is set to auto.

Then set the Fix / Fluid / None to None.
M-0 and P-0 will remove any padding and margin