Browse Source

Improved layout margins

Arnaud Vergnet 3 years ago
parent
commit
82371e89e7

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

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

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

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

Loading…
Cancel
Save