Skip to content

Commit 64b82e9

Browse files
Merge pull request #15428 from guardian/grid-api-for-standard-layout
Use grid module for `StandardLayout`
2 parents e82981b + 01c1b91 commit 64b82e9

3 files changed

Lines changed: 481 additions & 579 deletions

File tree

dotcom-rendering/src/grid.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const paddedContainer = `
9999
* @example
100100
* css`
101101
* ${grid.container}
102-
* ${grid.verticalRules()}
102+
* ${grid.outerRules()}
103103
* ${grid.centreRule(1)}
104104
*
105105
* ${from.leftCol} {
@@ -138,7 +138,7 @@ const centreRule = (n: number, color?: string): string => `/* CENTRE RULE */
138138
* @example
139139
* css`
140140
* ${grid.container}
141-
* ${grid.verticalRules()}
141+
* ${grid.outerRules()}
142142
* `
143143
*/
144144
const outerRules = (color?: string): string => `
@@ -288,6 +288,4 @@ const grid = {
288288
centreRule,
289289
} as const;
290290

291-
// ----- Exports ----- //
292-
293291
export { grid };

0 commit comments

Comments
 (0)