File tree Expand file tree Collapse file tree
dotcom-rendering/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { css } from '@emotion/react' ;
2- import { from , space , until } from '@guardian/source/foundations' ;
2+ import { breakpoints , from , space , until } from '@guardian/source/foundations' ;
33import { ArticleDesign , type ArticleFormat } from '../lib/articleFormat' ;
44import type { FEElement , RoleType } from '../types/content' ;
55
@@ -105,14 +105,14 @@ const roleCss = {
105105 margin-left : var (--grid-container-left-margin );
106106 }
107107 ${ from . desktop } {
108- --grid-container-max-width : 980 px ;
108+ --grid-container-max-width : ${ breakpoints . desktop } px ;
109109 }
110110 ${ from . leftCol } {
111- --grid-container-max-width : 1140 px ;
111+ --grid-container-max-width : ${ breakpoints . leftCol } px ;
112112 --grid-left-col-width : 140px ;
113113 }
114114 ${ from . wide } {
115- --grid-container-max-width : 1300 px ;
115+ --grid-container-max-width : ${ breakpoints . wide } px ;
116116 --grid-left-col-width : 219px ;
117117 }
118118 ` ,
You can’t perform that action at this time.
0 commit comments