diff --git a/src/components/Home/ActionsDashboardItem.js b/src/components/Home/ActionsDashboardItem.js index 00175b2..6494968 100644 --- a/src/components/Home/ActionsDashboardItem.js +++ b/src/components/Home/ActionsDashboardItem.js @@ -30,11 +30,12 @@ class ActionsDashBoardItem extends React.Component { description={"VOTRE COMPTE"} left={props => } right={props => } onPress={() => this.props.navigation.navigate("amicale-home")} + style={styles.list} /> { left={props => } right={props => } onPress={() => this.props.navigation.navigate("websites-home")} + style={styles.list} /> { left={props => } right={props => } onPress={() => this.props.navigation.navigate("insa-home")} + style={styles.list} /> ); @@ -61,12 +64,16 @@ const styles = StyleSheet.create({ marginLeft: 10, marginRight: 10, marginTop: 10, - elevation: 4, borderWidth: 1, }, avatar: { backgroundColor: 'transparent' }, + list: { + // height: 50, + paddingTop:0, + paddingBottom:0, + } }); export default withTheme(ActionsDashBoardItem); diff --git a/src/screens/Home/HomeScreen.js b/src/screens/Home/HomeScreen.js index c205526..c354b04 100644 --- a/src/screens/Home/HomeScreen.js +++ b/src/screens/Home/HomeScreen.js @@ -202,6 +202,7 @@ class HomeScreen extends React.Component { */ generateDashboardDataset(dashboardData: fullDashboard): Array { return [ + {id: 'actions', content: []}, { id: 'top', content: [ @@ -247,7 +248,6 @@ class HomeScreen extends React.Component { }, ] }, - {id: 'actions', content: []}, { id: 'event', content: dashboardData.today_events @@ -445,6 +445,7 @@ class HomeScreen extends React.Component { contentContainerStyle={{ marginLeft: 'auto', marginRight: 'auto', + marginTop: 5, }} />); }