Improved layout margins

This commit is contained in:
Arnaud Vergnet 2020-06-26 18:07:04 +02:00
parent 217e918ce8
commit 82371e89e7
2 changed files with 6 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class ClubListHeader extends React.Component<Props> {
selected={isItemInCategoryFilter(this.props.selectedCategories, [category.id])} selected={isItemInCategoryFilter(this.props.selectedCategories, [category.id])}
mode={'outlined'} mode={'outlined'}
onPress={onPress} onPress={onPress}
style={{marginRight: 5, marginBottom: 5}} style={{marginRight: 5, marginLeft: 5, marginBottom: 5}}
key={key} key={key}
> >
{category.name} {category.name}

View file

@ -55,7 +55,11 @@ class ClubListItem extends React.Component<Props> {
onPress={this.props.onPress} onPress={this.props.onPress}
left={(props) => <Avatar.Image left={(props) => <Avatar.Image
{...props} {...props}
style={{backgroundColor: 'transparent'}} style={{
backgroundColor: 'transparent',
marginLeft: 10,
marginRight: 10,
}}
size={64} size={64}
source={{uri: this.props.item.logo}}/>} source={{uri: this.props.item.logo}}/>}
right={(props) => <Avatar.Icon right={(props) => <Avatar.Icon