small fixes

This commit is contained in:
lnn0q 2025-06-05 20:10:02 +03:00
parent e10b43bddb
commit 58a211663a
3 changed files with 12 additions and 9 deletions

View file

@ -134,7 +134,8 @@ function EditorViewport({
maxHeight: readOnly ? undefined : '60vh',
height: '100%',
padding: 0,
overflowY: 'auto'
overflowY: 'auto',
overflowX: 'clip'
}}
renderElement={renderElement}
renderLeaf={renderLeaf}