From ba6cc9489c996f6e80e0e80acd8a499ba00ef4b3 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Sun, 19 Jun 2022 07:53:15 +0300 Subject: [PATCH] Add padding at bottom of edit component page Previously, the save floating action button was overlapping truth table. Now, the screen can be scrolled such that the button will no longer overlap due to the new empty space. --- lib/pages/edit_component.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pages/edit_component.dart b/lib/pages/edit_component.dart index ce89ba0..9606b74 100644 --- a/lib/pages/edit_component.dart +++ b/lib/pages/edit_component.dart @@ -373,6 +373,9 @@ class EditComponentPage extends HookWidget { ), ) ], + const SliverPadding( + padding: EdgeInsets.only(bottom: 56 + 16 + 16), + ), ], ), floatingActionButton: !dirty ? null : FloatingActionButton(