Browse Source

Improved RU menu section headers

keplyx 4 years ago
parent
commit
97a56a5245
1 changed files with 21 additions and 1 deletions
  1. 21
    1
      screens/SelfMenuScreen.js

+ 21
- 1
screens/SelfMenuScreen.js View File

@@ -95,7 +95,27 @@ export default class SelfMenuScreen extends React.Component<Props> {
95 95
 
96 96
     getRenderSectionHeader({section}: Object) {
97 97
         return (
98
-            <Title>{section.title}</Title>
98
+            <Card style={{
99
+                width: '90%',
100
+                marginLeft: 'auto',
101
+                marginRight: 'auto',
102
+                marginBottom: 10,
103
+                marginTop: 20,
104
+                elevation: 4,
105
+            }}>
106
+                <Card.Title
107
+                    title={section.title}
108
+                    titleStyle={{
109
+                        textAlign: 'center'
110
+                    }}
111
+                    subtitleStyle={{
112
+                        textAlign: 'center'
113
+                    }}
114
+                    style={{
115
+                        paddingLeft: 0,
116
+                    }}
117
+                />
118
+            </Card>
99 119
         );
100 120
     }
101 121
 

Loading…
Cancel
Save