Page changing layout after second refresh

I’ve started creating a small app and had a minor problem which i do not know how to fix.
After saving the .py file of the dash app and refreshing the page i get the desired layout of my webpage, but once i refresh the browser again i get a different page layout.

Example:

This isn’t the first time i notice this kind of behaviour. i have build another page before and it seemed to work fine, but for some reason when i go back to it now the layout of the page is a complete mess as my Divs are moving around the whole page (not sure if this is the same problem though, so maybe unrelated).

Hope i can get some insights regarding this behaviour.

Thanks!