Hi Robin,
I’ve noticed similar results when the Salesforce header is hidden. It could be that the header component injects JS/CSS that when absent results in the “wonky” appearance.
Did you search the community? Would not be surprised if this question has already been asked.
Regards,
Irvin