Skip to content

Commit

Permalink
fix(mobile): search picker overflow (#10870)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 authored Jul 5, 2024
1 parent 7bde19d commit b25642b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
11 changes: 7 additions & 4 deletions mobile/lib/pages/search/search_input.page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
),
),
),
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b25642b

Please sign in to comment.