Describe the bug
This seems to be a regression introduced by #13080
For some themes (Twenty Seventeen, Twenty Sixteen, Twenty Fifteen) the Custom HTML block's preview is not displaying correctly:

The cause seems to be that those themes have some styles on the body element that are now being included in the preview. In the case of Twenty Seventeen:
body {
// ...
margin: 20px 40px;
// ...
}
This margin is causing the content to overflow the preview.
To Reproduce
Steps to reproduce the behavior:
<div>test</div>Expected behavior
The preview should be displayed clearly without the need to scroll.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
As this is a regression in the packages that WordPress 5.1 has imported, I'm adding it to the WordPress 5.1 milestone.
This is not a regression in 5.1 AFAIK.
As a strawman idea: set body { margin: initial; }?
Yes, I think we should reset margin and padding in the HTML block preview as these are only meant for the full editor styles.
This is likely already partially done for style variation previews and block previews. Would it make sense to look into a mixin, or other way to semi-automate this?
I don't think we can reuse things here as the styles must be applied inside the iframe (in JS)