We currently have a padding on the main element: https://github.com/camunda/camunda-optimize/blob/083cea4b76a188fe210c3bf5eef62c3fa0a20635/client/src/style.scss#L38
We added this for the Reports and Dashboards and it is currently used for every page where we display an entity (reports, dashboards, event based processes).
All other pages need to work around this padding because they do not use it (e.g. the Collection page or the Analysis page). This lead to a couple of CSS hacks, making the CSS hard to understand and maintain.
We should remove the padding from the main, add it to the components that need it and clean up the hacks from the other components