-
-
+
+
+
+
+
`;
diff --git a/components/x-teaser-list/src/TeaserList.jsx b/components/x-teaser-list/src/TeaserList.jsx
index 3415e3757..836c47129 100644
--- a/components/x-teaser-list/src/TeaserList.jsx
+++ b/components/x-teaser-list/src/TeaserList.jsx
@@ -5,35 +5,33 @@ import classNames from 'classnames';
import styles from './TeaserList.scss';
const TeaserList = ({ items = [], showSaveButtons = true }) => (
-
-
- {items.map(item => {
- return (
- -
-
-
-
- {showSaveButtons && }
-
- );
- })}
-
-
+
+ {items.map(item => {
+ return (
+ -
+
+
+
+ {showSaveButtons && }
+
+ );
+ })}
+
);
export { TeaserList };
diff --git a/components/x-teaser-list/src/TeaserList.scss b/components/x-teaser-list/src/TeaserList.scss
index 1ad757044..fc4d8125a 100644
--- a/components/x-teaser-list/src/TeaserList.scss
+++ b/components/x-teaser-list/src/TeaserList.scss
@@ -4,8 +4,6 @@
@import "~@financial-times/x-article-save-button/dist/ArticleSaveButton";
}
-.root {}
-
.list {
list-style-type: none;
margin: 0;
@@ -13,6 +11,9 @@
}
.listItem {
+ display: grid;
+ grid-gap: 0 20px;
+ grid-template: "article actions" min-content / 1fr min-content;
margin-bottom: 20px;
border-bottom: 1px solid oColorsGetPaletteColor('black-20');
@@ -24,12 +25,6 @@
}
}
-.listItemWithActions {
- display: grid;
- grid-gap: 0 20px;
- grid-template: "article actions" min-content / 1fr 50px;
-}
-
.listItem__article {
grid-area: article;
}