From 3a90b479fd42883a624b3c3e5d7ba36b510ca6fa Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 29 Aug 2023 19:41:50 -0500 Subject: fix lightbox on search page (#1330) * fix lightbox on search page * add styles to mobile web too --- src/view/screens/Search.web.tsx | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/view/screens/Search.web.tsx b/src/view/screens/Search.web.tsx index 85e8c212e..3218b4579 100644 --- a/src/view/screens/Search.web.tsx +++ b/src/view/screens/Search.web.tsx @@ -1,4 +1,5 @@ import React from 'react' +import {View, StyleSheet} from 'react-native' import {SearchUIModel} from 'state/models/ui/search' import {FoafsModel} from 'state/models/discovery/foafs' import {SuggestedActorsModel} from 'state/models/discovery/suggested-actors' @@ -47,13 +48,28 @@ export const SearchScreen = withAuthRequired( const {isDesktop} = useWebMediaQueries() if (searchUIModel) { - return + return ( + + + + ) } if (!isDesktop) { - return + return ( + + + + ) } return }), ) + +const styles = StyleSheet.create({ + scrollContainer: { + height: '100%', + overflowY: 'auto', + }, +}) -- cgit 1.4.1