Fix minor styling issues in search.js
This commit is contained in:
parent
c78fcda912
commit
c4f01f4939
|
@ -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",
|
||||||
|
@ -177,4 +181,4 @@ const styles = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default SearchJsx;
|
export default SearchJsx;
|
||||||
|
|
Loading…
Reference in New Issue