fix(layout): prevent document-level scroll-y when stacked notes overflow

Contain horizontal overflow within #main-app instead of leaking to the
document, which caused a horizontal scrollbar to consume viewport height
and trigger an unwanted vertical scrollbar. Also fix note pane height
to use 100% instead of 100vh, and switch useResizeContainer to minWidth
so the flex container can grow when the window is wider than the notes.
Add a window resize listener to keep the value accurate on resize.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-04-22 23:52:03 +02:00
parent ee8bbd4a37
commit 449a16f791
4 changed files with 11 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ $header-height: 40px;
display: flex;
flex-direction: column;
overflow-y: auto;
height: 100vh;
height: 100%;
position: sticky;
&:not(:first-child) {