Selaa lähdekoodia

styles updated to follow mockups

David 9 vuotta sitten
vanhempi
commit
1292e433aa
1 muutettua tiedostoa jossa 6 lisäystä ja 5 poistoa
  1. 6 5
      src/scenes/Cursada/ItemCursada.js

+ 6 - 5
src/scenes/Cursada/ItemCursada.js

@@ -17,13 +17,15 @@ class ItemCursada extends Component {
 		const horaIni = moment(data.horaIni).local().format('HH:mm');
 		const horaFin = moment(data.horaFin).local().format('HH:mm');
 		return (
-			<Card style={{backgroundColor:'#fff'}}>
+			<Card style={{backgroundColor:'#fff',paddingLeft:15,paddingRight:15}}>
 				<CardSection>
 					<Text style={styles.titleStyle}>{data.titulo}</Text>
 				</CardSection>
 
 				<CardSection style={{flexDirection: 'column' }}>
-					<Text style={{fontSize:14,paddingLeft:15,paddingRight:15}}>{data.descCorta}</Text>
+					<Text style={{fontSize:14}}>
+						{data.descCorta}
+					</Text>
 				</CardSection>
 
 				<CardSection>
@@ -44,7 +46,7 @@ class ItemCursada extends Component {
 				</CardSection>
 
 				<CardSection>
-					<Button onPress={this.onRowPress.bind(this)}>
+					<Button style={{marginLeft:0,marginRight:0}} onPress={this.onRowPress.bind(this)}>
 						Ingresar
 					</Button>
 				</CardSection>
@@ -72,8 +74,7 @@ const styles = {
 		flex: 1,
 		flexDirection: 'row',
 		alignItems: 'center',
-		paddingLeft: 10,
-		paddingRight: 10,
+
 	}
 };