Skip to content

Commit

Permalink
fix: add paddings around children of page sections
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed Nov 22, 2024
1 parent 5ac2d49 commit 4a78c8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/view/page/page/page_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ class PagePage extends ConsumerWidget {
),
const SizedBox(height: 8.0),
...?children?.map(
(child) => _buildBlock(context, page, child, topLevel: false),
(child) => Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0),
child: _buildBlock(context, page, child, topLevel: false),
),
),
],
);
Expand Down

0 comments on commit 4a78c8c

Please sign in to comment.