Fix home heading clipping and reset notebook page scrolling

This commit is contained in:
Hadrian Burkhardt
2026-11-03 05:05:39 +01:00
parent c6168f46ac
commit 5b9a76fb53
4 changed files with 200 additions and 84 deletions
+4 -2
View File
@@ -195,8 +195,10 @@ class Leaf extends StatelessWidget {
child: wide
? wideBody!
: SingleChildScrollView(
key: const PageStorageKey('leaf-scroll'),
padding: const EdgeInsets.fromLTRB(4, 0, 4, 8),
// Each newly opened leaf starts at the top, including
// leaves revisited with Previous or a bookmark.
key: const ValueKey('leaf-scroll'),
padding: const EdgeInsets.fromLTRB(4, 8, 4, 8),
child: body,
),
),