.moleculeViewer { height: 100%; width: 100%; min-width: 0; box-sizing: border-box; overflow: auto; position: relative; overscroll-behavior: contain; touch-action: none; } .atomEditor { position: absolute; border-radius: md; right: 10px; top: 10px; } .atomEditor * { width: 100%; height: auto; }