Skip to content

Commit 12ef9bb

Browse files
Adjust media furniture layout
1 parent 9d53c55 commit 12ef9bb

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

dotcom-rendering/src/layouts/StandardLayout.tsx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,18 @@ export const StandardLayout = (props: WebProps | AppProps) => {
336336
area="main-media"
337337
layoutType={layoutType}
338338
element="div"
339+
customCss={
340+
isMedia
341+
? css`
342+
${from.desktop} {
343+
${grid.between(
344+
'centre-column-start',
345+
'right-column-start',
346+
)};
347+
}
348+
`
349+
: undefined
350+
}
339351
>
340352
<div css={!isMedia && maxWidth}>
341353
<MainMedia
@@ -404,6 +416,18 @@ export const StandardLayout = (props: WebProps | AppProps) => {
404416
area="standfirst"
405417
layoutType={layoutType}
406418
element="div"
419+
customCss={
420+
isMedia
421+
? css`
422+
${from.desktop} {
423+
${grid.between(
424+
'centre-column-start',
425+
'right-column-start',
426+
)};
427+
}
428+
`
429+
: undefined
430+
}
407431
>
408432
<Standfirst
409433
format={format}
@@ -532,6 +556,18 @@ export const StandardLayout = (props: WebProps | AppProps) => {
532556
area="body"
533557
layoutType={layoutType}
534558
element="div"
559+
customCss={
560+
isMedia
561+
? css`
562+
${from.desktop} {
563+
${grid.between(
564+
'centre-column-start',
565+
'right-column-start',
566+
)};
567+
}
568+
`
569+
: undefined
570+
}
535571
>
536572
{/* Only show Listen to Article button on App landscape views */}
537573
{isApps && (

0 commit comments

Comments
 (0)