Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Align search tab header spacing

ashilkne3776d7e2f53
diff --git a/mobile/apps/photos/changes/search-tab-header-spacing.md b/mobile/apps/photos/changes/search-tab-header-spacing.md
new file mode 100644
index 0000000000..2ec8d3dec8
--- /dev/null
+++ b/mobile/apps/photos/changes/search-tab-header-spacing.md
@@ -0,0 +1 @@
+- Matched Search tab header spacing with the Albums tab.
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/no_result_widget.dart b/mobile/apps/photos/lib/ui/viewer/search/result/no_result_widget.dart
index 293ed60181..1a7a731ba8 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/no_result_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/no_result_widget.dart
@@ -82,7 +82,7 @@ class _NoResultWidgetState extends State<NoResultWidget> {
body: SingleChildScrollView(
physics: const BouncingScrollPhysics(),
keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.onDrag,
- padding: const EdgeInsets.fromLTRB(12, 8, 12, bottomPadding),
+ padding: const EdgeInsets.fromLTRB(12, 0, 12, bottomPadding),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
diff --git a/mobile/apps/photos/lib/ui/viewer/search/search_suggestions.dart b/mobile/apps/photos/lib/ui/viewer/search/search_suggestions.dart
index 964df8a372..13841221ce 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/search_suggestions.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/search_suggestions.dart
@@ -135,7 +135,7 @@ class _SearchSuggestionsWidgetState extends State<SearchSuggestionsWidget> {
sectionWidgets.insert(
0,
Padding(
- padding: const EdgeInsets.fromLTRB(4, 4, 4, 12),
+ padding: const EdgeInsets.fromLTRB(4, 0, 4, 12),
child: Text(
AppLocalizations.of(
context,
@@ -148,7 +148,7 @@ class _SearchSuggestionsWidgetState extends State<SearchSuggestionsWidget> {
return Scaffold(
backgroundColor: resultsBackground,
body: Padding(
- padding: const EdgeInsets.fromLTRB(16, 8, 16, 0),
+ padding: const EdgeInsets.fromLTRB(16, 0, 16, 0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart
index 6fc57f1cf0..ab167743f0 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart
@@ -76,7 +76,7 @@ class _SearchTabState extends State<SearchTab> {
child: SafeArea(
bottom: false,
child: Padding(
- padding: const EdgeInsets.fromLTRB(15, 12, 15, 20),
+ padding: const EdgeInsets.fromLTRB(15, 12, 15, 8),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [