diff --git a/src/components/Home/SmallDashboardItem.js b/src/components/Home/SmallDashboardItem.js index 9384da2..efc70fd 100644 --- a/src/components/Home/SmallDashboardItem.js +++ b/src/components/Home/SmallDashboardItem.js @@ -39,8 +39,8 @@ class SmallDashboardItem extends React.Component { onPress={this.props.onPress} borderless={true} style={{ - marginLeft: this.itemSize / 4, - marginRight: this.itemSize / 4, + marginLeft: this.itemSize / 6, + marginRight: this.itemSize / 6, }} > { { diff --git a/src/screens/Home/HomeScreen.js b/src/screens/Home/HomeScreen.js index 6d1429f..a699fa0 100644 --- a/src/screens/Home/HomeScreen.js +++ b/src/screens/Home/HomeScreen.js @@ -7,7 +7,7 @@ import DashboardItem from "../../components/Home/EventDashboardItem"; import WebSectionList from "../../components/Screens/WebSectionList"; import {withTheme} from 'react-native-paper'; import FeedItem from "../../components/Home/FeedItem"; -import SquareDashboardItem from "../../components/Home/SmallDashboardItem"; +import SmallDashboardItem from "../../components/Home/SmallDashboardItem"; import PreviewEventDashboardItem from "../../components/Home/PreviewEventDashboardItem"; import {stringToDate} from "../../utils/Planning"; import ActionsDashBoardItem from "../../components/Home/ActionsDashboardItem"; @@ -434,7 +434,7 @@ class HomeScreen extends React.Component { */ dashboardRowRenderItem = ({item}: { item: DashboardItem }) => { return ( - { contentContainerStyle={{ marginLeft: 'auto', marginRight: 'auto', - marginTop: 5, + marginTop: 10, + marginBottom: 10, }} />); }