Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): search picker overflow (#10870)

Alexb25642b889f4
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(