diff --git a/src/modules/core/components/GridItem/GridItem.jsx b/src/modules/core/components/GridItem/GridItem.jsx
index ee1cb6c1f..b1abcb6d0 100644
--- a/src/modules/core/components/GridItem/GridItem.jsx
+++ b/src/modules/core/components/GridItem/GridItem.jsx
@@ -13,7 +13,7 @@ import styles from './GridItem.module.css';
type Props = {|
body: MessageDescriptor,
- image: string,
+ image?: string,
links?: Array<{ href: string, text: MessageDescriptor }>,
title: MessageDescriptor,
|};
@@ -22,9 +22,11 @@ const displayName = 'GridItem';
const GridItem = ({ body, image, links = [], title }: Props) => (
-
-
-
+ {image && (
+
+
+
+ )}
diff --git a/src/modules/core/components/GridItem/GridItem.module.css b/src/modules/core/components/GridItem/GridItem.module.css
index 6c9517660..2d746d80f 100644
--- a/src/modules/core/components/GridItem/GridItem.module.css
+++ b/src/modules/core/components/GridItem/GridItem.module.css
@@ -6,14 +6,10 @@
justify-content: space-between;
}
-.main > div:first-child {
+.imageContainer {
flex: 0 0 22%;
}
-.main > div:nth-child(2) {
- flex: 0 0 64%;
-}
-
.image {
height: auto;
width: 60px;
@@ -34,6 +30,10 @@
flex-direction: column;
}
+.imageContainer + .content {
+ flex: 0 0 64%;
+}
+
.contentInner {
display: flex;
flex-direction: column;
@@ -52,11 +52,11 @@
width: 70px;
}
- .main > div:first-child {
+ .imageContainer {
flex: 0 0 22%;
}
- .main > div:nth-child(2) {
+ .imageContainer + .content {
flex: 0 0 74%;
}
}
diff --git a/src/modules/pages/components/Website/HomePage/TLDR/TLDR.jsx b/src/modules/pages/components/Website/HomePage/TLDR/TLDR.jsx
index e74ca66ef..db06e7028 100644
--- a/src/modules/pages/components/Website/HomePage/TLDR/TLDR.jsx
+++ b/src/modules/pages/components/Website/HomePage/TLDR/TLDR.jsx
@@ -4,6 +4,7 @@ import React from 'react';
import { defineMessages } from 'react-intl';
import Heading from '~core/Heading';
+import GridItem from '~core/GridItem';
import styles from './TLDR.module.css';
@@ -54,46 +55,13 @@ const TLDR = () => (