mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-15 08:08:18 +00:00
CodeMirror's tooltip container in `body` carries the editor's theme classes, so the themes' `height: 100%` gave it a full window of height. Scrolling to a position the editor had already reached then moved the page itself, leaving the title bar cut off and an empty band at the bottom. Set the height on `.cm-editor` only, and clip the body so nothing outside `#root` can make the page scrollable.