Fix home heading clipping and reset notebook page scrolling
This commit is contained in:
+4
-2
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user