diff --git a/app/lib/features/geckoview/features/search/presentation/widgets/search_modules/full_search_suggestions.dart b/app/lib/features/geckoview/features/search/presentation/widgets/search_modules/full_search_suggestions.dart index 13cf89b5..464cd348 100644 --- a/app/lib/features/geckoview/features/search/presentation/widgets/search_modules/full_search_suggestions.dart +++ b/app/lib/features/geckoview/features/search/presentation/widgets/search_modules/full_search_suggestions.dart @@ -91,7 +91,7 @@ class FullSearchTermSuggestions extends HookConsumerWidget { children: [ SliverToBoxAdapter( child: Padding( - padding: const EdgeInsets.only(left: 16.0), + padding: const EdgeInsets.only(left: 12.0, top: 12.0), child: SmartBangSelector( domain: domain, searchTextController: searchTextController, @@ -168,7 +168,7 @@ class _SuggestionsContent extends StatelessWidget { slivers: [ SliverToBoxAdapter( child: Padding( - padding: const EdgeInsets.only(left: 16.0), + padding: const EdgeInsets.only(left: 12.0), child: Wrap( spacing: 8.0, children: [ @@ -193,7 +193,7 @@ class _SuggestionsContent extends StatelessWidget { } return Padding( - padding: const EdgeInsets.only(left: 16.0, top: 8.0), + padding: const EdgeInsets.only(left: 12.0, top: 8.0), child: SizedBox( height: 44, child: FadingScroll( diff --git a/app/lib/features/geckoview/features/search/presentation/widgets/smart_bang_selector.dart b/app/lib/features/geckoview/features/search/presentation/widgets/smart_bang_selector.dart index b1149d6f..b61cd9c7 100644 --- a/app/lib/features/geckoview/features/search/presentation/widgets/smart_bang_selector.dart +++ b/app/lib/features/geckoview/features/search/presentation/widgets/smart_bang_selector.dart @@ -166,14 +166,11 @@ class _TabbedBangSelector extends HookConsumerWidget { final tabController = useTabController(initialLength: 2); final tabIndex = useState(0); - useEffect( - () { - void listener() => tabIndex.value = tabController.index; - tabController.addListener(listener); - return () => tabController.removeListener(listener); - }, - [tabController], - ); + useEffect(() { + void listener() => tabIndex.value = tabController.index; + tabController.addListener(listener); + return () => tabController.removeListener(listener); + }, [tabController]); final theme = Theme.of(context); final colorScheme = theme.colorScheme; @@ -184,7 +181,7 @@ class _TabbedBangSelector extends HookConsumerWidget { children: [ // Animated sliding pill toggle Padding( - padding: const EdgeInsets.only(right: 16.0), + padding: const EdgeInsets.only(right: 12.0), child: Container( height: 36, decoration: BoxDecoration(