Explore page redesign #518
2 changed files with 7 additions and 2 deletions
|
@ -169,7 +169,9 @@ class DiscoverPage extends React.PureComponent {
|
|||
</View>
|
||||
)}
|
||||
{(!!hasContent) &&
|
||||
(<SectionList style={discoverStyle.scrollContainer}
|
||||
(<SectionList
|
||||
style={discoverStyle.scrollContainer}
|
||||
contentContainerStyle={discoverStyle.scrollPadding}
|
||||
renderItem={ ({item, index, section}) => (
|
||||
<CategoryList
|
||||
key={item}
|
||||
|
|
|
@ -46,7 +46,7 @@ const discoverStyle = StyleSheet.create({
|
|||
fontSize: 18,
|
||||
marginLeft: 24,
|
||||
marginTop: 12,
|
||||
marginBottom: 12,
|
||||
marginBottom: 6,
|
||||
color: Colors.Black
|
||||
},
|
||||
fileItem: {
|
||||
|
@ -149,6 +149,9 @@ const discoverStyle = StyleSheet.create({
|
|||
fontSize: 12,
|
||||
color: Colors.DescriptionGrey
|
||||
},
|
||||
scrollPadding: {
|
||||
paddingBottom: 24
|
||||
},
|
||||
horizontalScrollContainer: {
|
||||
marginBottom: 12
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue