From cc7cf7ebe166518145944178c83ae961674dca0a Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Wed, 4 Feb 2026 06:49:42 +0100 Subject: [PATCH] improve layout --- .../search/presentation/screens/search.dart | 41 +++++++++++-------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/app/lib/features/geckoview/features/search/presentation/screens/search.dart b/app/lib/features/geckoview/features/search/presentation/screens/search.dart index a4f6c88a..2e11a126 100644 --- a/app/lib/features/geckoview/features/search/presentation/screens/search.dart +++ b/app/lib/features/geckoview/features/search/presentation/screens/search.dart @@ -277,6 +277,7 @@ class SearchScreen extends HookConsumerWidget { pinned: true, automaticallyImplyLeading: false, toolbarHeight: isEditMode ? 0 : kToolbarHeight + 56, + titleSpacing: 0.0, title: isEditMode ? null : Column( @@ -331,26 +332,30 @@ class SearchScreen extends HookConsumerWidget { ), ), const SizedBox(height: 8), - SizedBox( - height: 48, - child: ContainerChips( - selectedContainer: selectedContainer.value, - onSelected: (container) async { - if (container != null) { - if (await ref - .read( - selectedContainerProvider.notifier, - ) - .authenticateContainer(container)) { + Padding( + padding: const EdgeInsets.only(left: 16.0), + child: SizedBox( + height: 48, + child: ContainerChips( + selectedContainer: selectedContainer.value, + onSelected: (container) async { + if (container != null) { + if (await ref + .read( + selectedContainerProvider + .notifier, + ) + .authenticateContainer(container)) { + selectedContainer.value = container; + } + } else { selectedContainer.value = container; } - } else { - selectedContainer.value = container; - } - }, - onDeleted: (container) { - selectedContainer.value = null; - }, + }, + onDeleted: (container) { + selectedContainer.value = null; + }, + ), ), ), ],