Displays all the text for Home Elements;
Shortens margin btw Home Elements; Adds missing "visit" to text
This commit is contained in:
+3
-5
@@ -38,7 +38,7 @@ const HomeElement = ({ children, onPress, buttonColor, buttonLabel }) => {
|
||||
</View>
|
||||
|
||||
<View style={{paddingLeft: 15}}>
|
||||
{children[2]}
|
||||
{children.slice(2)}
|
||||
<Button
|
||||
style={styles.homeButton}
|
||||
onPress={ onPress }
|
||||
@@ -137,11 +137,9 @@ export default class Home extends Component {
|
||||
{`${labels.phase(phase)} (${status})`}
|
||||
</AppText>
|
||||
}
|
||||
<View>
|
||||
<AppText styles={styles.homeDescriptionText}>
|
||||
{ `${statusText} ${links.wiki.url}.` }
|
||||
<AppText style={styles.homeDescriptionText}>
|
||||
{ `${statusText} Visit ${links.wiki.url}.` }
|
||||
</AppText>
|
||||
</View>
|
||||
</HomeElement>
|
||||
</View>
|
||||
</ScrollView>
|
||||
|
||||
+1
-1
@@ -123,7 +123,7 @@ export default StyleSheet.create({
|
||||
marginBottom: defaultBottomMargin,
|
||||
},
|
||||
homeElement: {
|
||||
marginBottom: 40,
|
||||
marginBottom: 30,
|
||||
flexDirection: 'row',
|
||||
},
|
||||
homeIconTextWrapper: {
|
||||
|
||||
Reference in New Issue
Block a user