Fix minor styling issues in search.js

This commit is contained in:
Nat 2021-04-03 04:30:16 -03:00
parent c78fcda912
commit c4f01f4939
1 changed files with 7 additions and 3 deletions

View File

@ -67,11 +67,11 @@ const SearchJsx = ({navigation}) => {
{ state.query == "" ? { state.query == "" ?
<View></View> <View></View>
: <View> : <View>
<Text>Accounts</Text> <Text style = { styles.label }>Accounts</Text>
<AccountsListJsx <AccountsListJsx
data = { TEST_ACCOUNTS } data = { TEST_ACCOUNTS }
callback = { accountCallback } /> callback = { accountCallback } />
<Text>Hashtags</Text> <Text style = { styles.label }>Hashtags</Text>
<HashtagListJsx <HashtagListJsx
data = { TEST_HASHTAGS } data = { TEST_HASHTAGS }
callback = { hashtagCallback } /> callback = { hashtagCallback } />
@ -156,6 +156,10 @@ const styles = {
fontSize: 17, fontSize: 17,
color: "#888" color: "#888"
}, },
label: {
padding: 10,
fontSize: 15,
},
searchList: { padding: 0 }, searchList: { padding: 0 },
searchResultContainer: { searchResultContainer: {
display: "flex", display: "flex",