From b25642b889f49005e3b76006f27dbc8b016c70ff Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 5 Jul 2024 09:47:33 -0500 Subject: [PATCH] fix(mobile): search picker overflow (#10870) --- mobile/lib/pages/search/search_input.page.dart | 11 +++++++---- .../search_filter/filter_bottom_sheet_scaffold.dart | 5 +---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mobile/lib/pages/search/search_input.page.dart b/mobile/lib/pages/search/search_input.page.dart index e166777439..6f8df7b482 100644 --- a/mobile/lib/pages/search/search_input.page.dart +++ b/mobile/lib/pages/search/search_input.page.dart @@ -199,9 +199,12 @@ class SearchInputPage extends HookConsumerWidget { padding: EdgeInsets.only( bottom: MediaQuery.of(context).viewInsets.bottom, ), - child: LocationPicker( - onSelected: handleOnSelect, - filter: filter.value.location, + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 16.0), + child: LocationPicker( + onSelected: handleOnSelect, + filter: filter.value.location, + ), ), ), ), @@ -242,7 +245,7 @@ class SearchInputPage extends HookConsumerWidget { onSearch: search, onClear: handleClear, child: Padding( - padding: const EdgeInsets.symmetric(vertical: 16.0), + padding: const EdgeInsets.all(16.0), child: CameraPicker( onSelect: handleOnSelect, filter: filter.value.camera, diff --git a/mobile/lib/widgets/search/search_filter/filter_bottom_sheet_scaffold.dart b/mobile/lib/widgets/search/search_filter/filter_bottom_sheet_scaffold.dart index 95dc8b60e1..d636c8c7ce 100644 --- a/mobile/lib/widgets/search/search_filter/filter_bottom_sheet_scaffold.dart +++ b/mobile/lib/widgets/search/search_filter/filter_bottom_sheet_scaffold.dart @@ -38,10 +38,7 @@ class FilterBottomSheetScaffold extends StatelessWidget { style: context.textTheme.headlineSmall, ), ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 16), - child: buildChildWidget(), - ), + buildChildWidget(), Padding( padding: const EdgeInsets.all(8.0), child: Row(