Skip to content

Commit 4978a42

Browse files
Fold interactive grid CSS into standard
1 parent 0f97c6c commit 4978a42

1 file changed

Lines changed: 1 addition & 32 deletions

File tree

dotcom-rendering/src/layouts/lib/articleArrangements.ts

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -149,42 +149,11 @@ const mediaCss: LayoutCssMap = {
149149
},
150150
};
151151

152-
const interactiveCss: LayoutCssMap = {
153-
title: {
154-
tablet: 'grid-row: 1;',
155-
leftCol: `grid-row: 1; ${grid.column.left}`,
156-
},
157-
headline: {
158-
tablet: 'grid-row: 2;',
159-
leftCol: 'grid-row: 1;',
160-
},
161-
standfirst: {
162-
tablet: 'grid-row: 3;',
163-
leftCol: 'grid-row: 2;',
164-
},
165-
media: {
166-
tablet: 'grid-row: 4;',
167-
leftCol: 'grid-row: 3;',
168-
},
169-
meta: {
170-
tablet: 'grid-row: 5;',
171-
leftCol: `grid-row: 3 / span 2; ${grid.column.left};`,
172-
},
173-
body: {
174-
tablet: `grid-row: 6; ${grid.column.all};`,
175-
leftCol: 'grid-row: 4;',
176-
},
177-
'right-column': {
178-
desktop: `grid-row: 1 / span 6; ${grid.column.right};`,
179-
leftCol: `grid-row: 1 / span 4; ${grid.column.right};`,
180-
},
181-
};
182-
183152
const layoutCssMaps: Record<LayoutType, LayoutCssMap> = {
184153
standard: standardCss,
185154
showcase: showcaseCss,
186155
media: mediaCss,
187-
interactive: interactiveCss,
156+
interactive: standardCss,
188157
};
189158

190159
/**

0 commit comments

Comments
 (0)