Explore page redesign #518

Merged
akinwale merged 6 commits from redesign into master 2019-04-24 16:31:45 +02:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 19a2b45ecc - Show all commits

View file

@ -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}

View file

@ -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
},