refactor(notes): restore fixed mobile heights for scroll math

Re-pin .note and .stacked-note to 100dvh on mobile and bring back the
container height in useResizeContainer so (index + 1) * height has a
reachable scroll target. Switch the polled scroll helper to that same
formula instead of offsetTop.
This commit is contained in:
Julien Calixte
2026-04-29 11:32:23 +02:00
parent f529832eee
commit 68022971cd
4 changed files with 11 additions and 7 deletions

View File

@@ -256,6 +256,7 @@ $header-height: 40px;
.note {
width: 100vw;
height: 100dvh;
overflow-y: visible;
}