Fix desktop styles a bit

zio/stable
Paul Frazee 2023-12-28 13:41:23 -08:00
parent 47127ce0ab
commit 363929b1a7
1 changed files with 6 additions and 2 deletions

View File

@ -519,7 +519,11 @@ export function SearchScreen(
return ( return (
<View style={{flex: 1}}> <View style={{flex: 1}}>
<CenteredView <CenteredView
style={[styles.header, pal.border]} style={[
styles.header,
pal.border,
isTabletOrDesktop && {paddingTop: 10},
]}
sideBorders={isTabletOrDesktop}> sideBorders={isTabletOrDesktop}>
{isTabletOrMobile && ( {isTabletOrMobile && (
<Pressable <Pressable
@ -600,7 +604,7 @@ export function SearchScreen(
{isFetching ? ( {isFetching ? (
<Loader /> <Loader />
) : ( ) : (
<ScrollView style={{height: '100%'}}> <ScrollView style={{height: '100%'}} dataSet={{stableGutters: '1'}}>
{searchResults.length ? ( {searchResults.length ? (
searchResults.map((item, i) => ( searchResults.map((item, i) => (
<SearchResultCard <SearchResultCard