Windows 10. Obsidian Dark Theme. Third-party CSS & plugins were disabled to confirm.
Steps to reproduce
Have a large document that requires scrolling past the screen’s resolution height, with MD headings, tables, code blocks and horizontal rulers. While scrolling up and down (possibly as elements cache in and out of view), the editor’s edit view dynamically resizes its width. This noticeably causes elements like code blocks that use background-color
to resize in width. This ‘pop’ in element width is jarring and not smooth.
Expected result
The editor’s inside width should remain constant, and fit up to the editor’s full outer width.
Using the following third-party CSS snippet seems to alleviate this issue greatly.
.CodeMirror-sizer {
width: 95%;
}