Embed inserts margin

when I embed the map of this notebook some margins appear that should not be there: Heizen in Deutschland / RND | Observable

By using the “Runtime with JavaScript” embed method you end up with the browser’s default styles, including a 40px margin on the left and right of <figure> elements.

If you want to use this embed method then it’s up to you to include a stylesheet (or style element) that applies your desired default styles. Note also that the preview can not anticipate what the embedded cells will look like once you integrate the snippet into your own site.

1 Like

thank you, that fixed it