Skip to content

Commit

Permalink
fix: adding margin top on title
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianRid committed Jul 7, 2021
1 parent 8c2e6b9 commit 3814bb2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tumeplay-app/src/screens/LandingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const LandingPage = (props) => {

return(
<View style={style.container}>
<Text style={Styles.appTitle}>D'ou viens tu ?</Text>
<View style={style.titleContainer}>
<Text style={Styles.appTitle}>D'ou viens tu ?</Text>
</View>
<View style={style.cardContainer}>
<TouchableOpacity style={style.card} onPress={() => {handleRedirection('metropole')}}>
<Text style={style.text}>
Expand All @@ -44,12 +46,15 @@ const style = StyleSheet.create({
backgroundColor: Colors.backgroundColor,
textAlign: 'center'
},
titleContainer: {
marginTop: 15
},
title: {
color: Colors.secondaryText,
fontFamily: Colors.appTitleFont,
fontSize: 30,
lineHeight: 34,
marginVertical: 15,
marginTop: 15,
paddingBottom: 0,
flex: 2,
},
Expand Down

0 comments on commit 3814bb2

Please sign in to comment.