Browse Source

Improved layout margins

Arnaud Vergnet 3 years ago
parent
commit
82371e89e7

+ 1
- 1
src/components/Lists/Clubs/ClubListHeader.js View File

26
             selected={isItemInCategoryFilter(this.props.selectedCategories, [category.id])}
26
             selected={isItemInCategoryFilter(this.props.selectedCategories, [category.id])}
27
             mode={'outlined'}
27
             mode={'outlined'}
28
             onPress={onPress}
28
             onPress={onPress}
29
-            style={{marginRight: 5, marginBottom: 5}}
29
+            style={{marginRight: 5, marginLeft: 5, marginBottom: 5}}
30
             key={key}
30
             key={key}
31
         >
31
         >
32
             {category.name}
32
             {category.name}

+ 5
- 1
src/components/Lists/Clubs/ClubListItem.js View File

55
                 onPress={this.props.onPress}
55
                 onPress={this.props.onPress}
56
                 left={(props) => <Avatar.Image
56
                 left={(props) => <Avatar.Image
57
                     {...props}
57
                     {...props}
58
-                    style={{backgroundColor: 'transparent'}}
58
+                    style={{
59
+                        backgroundColor: 'transparent',
60
+                        marginLeft: 10,
61
+                        marginRight: 10,
62
+                    }}
59
                     size={64}
63
                     size={64}
60
                     source={{uri: this.props.item.logo}}/>}
64
                     source={{uri: this.props.item.logo}}/>}
61
                 right={(props) => <Avatar.Icon
65
                 right={(props) => <Avatar.Icon

Loading…
Cancel
Save