@@ -2,7 +2,6 @@ import { css } from '@emotion/react';
22import { log } from '@guardian/libs' ;
33import { from , space , until } from '@guardian/source/foundations' ;
44import { Hide } from '@guardian/source/react-components' ;
5- import { StraightLines } from '@guardian/source-development-kitchen/react-components' ;
65import { AffiliateDisclaimer } from '../components/AffiliateDisclaimer' ;
76import { AppsEpic } from '../components/AppsEpic.island' ;
87import { ArticleBody } from '../components/ArticleBody' ;
@@ -190,7 +189,17 @@ export const StandardLayoutArticleGrid = ({
190189 < GridItem area = "standfirst" layoutType = { layoutType } >
191190 < Standfirst format = { format } standfirst = { article . standfirst } />
192191 </ GridItem >
193- < GridItem area = "meta" layoutType = { layoutType } element = "aside" >
192+ < GridItem
193+ area = "meta"
194+ layoutType = { layoutType }
195+ element = "aside"
196+ css = {
197+ isInteractive &&
198+ css `
199+ z-index : 10 ;
200+ `
201+ }
202+ >
194203 < div css = { stretchLines } >
195204 { isWeb &&
196205 format . theme === ArticleSpecial . Labs &&
@@ -373,14 +382,6 @@ export const StandardLayoutArticleGrid = ({
373382 />
374383 </ Island >
375384 ) }
376- < StraightLines
377- data-print-layout = "hide"
378- count = { 4 }
379- cssOverrides = { css `
380- display : block;
381- ` }
382- color = { themePalette ( '--straight-lines' ) }
383- />
384385 < SubMeta
385386 format = { format }
386387 subMetaKeywordLinks = { article . subMetaKeywordLinks }
@@ -395,40 +396,38 @@ export const StandardLayoutArticleGrid = ({
395396 />
396397 </ ArticleContainer >
397398 </ GridItem >
398- { layoutType !== 'interactive' && (
399- < GridItem
400- area = "right-column"
401- layoutType = { layoutType }
402- css = { css `
403- padding-top : ${ isMedia ? 0 : 6 } px;
404- ${ from . desktop } {
405- padding-bottom : ${ isMedia ? 41 : 0 } px;
406- }
407- ` }
408- >
409- < Hide until = "desktop" >
410- < Island
411- priority = "feature"
412- defer = { {
413- until : 'visible' ,
414- // Provide a much higher value for the top margin for the intersection observer
415- // This is because the most viewed would otherwise only be lazy loaded when the
416- // bottom of the container intersects with the viewport
417- rootMargin : '700px 100px' ,
418- } }
419- >
420- < MostViewedRightWithAd
421- format = { format }
422- isPaidContent = { article . pageType . isPaidContent }
423- renderAds = { isWeb && renderAds }
424- shouldHideReaderRevenue = {
425- ! ! article . config . shouldHideReaderRevenue
426- }
427- />
428- </ Island >
429- </ Hide >
430- </ GridItem >
431- ) }
399+ < GridItem
400+ area = "right-column"
401+ layoutType = { layoutType }
402+ css = { css `
403+ padding-top : ${ isMedia ? 0 : 6 } px;
404+ ${ from . desktop } {
405+ padding-bottom : ${ isMedia ? 41 : 0 } px;
406+ }
407+ ` }
408+ >
409+ < Hide until = "desktop" >
410+ < Island
411+ priority = "feature"
412+ defer = { {
413+ until : 'visible' ,
414+ // Provide a much higher value for the top margin for the intersection observer
415+ // This is because the most viewed would otherwise only be lazy loaded when the
416+ // bottom of the container intersects with the viewport
417+ rootMargin : '700px 100px' ,
418+ } }
419+ >
420+ < MostViewedRightWithAd
421+ format = { format }
422+ isPaidContent = { article . pageType . isPaidContent }
423+ renderAds = { isWeb && renderAds }
424+ shouldHideReaderRevenue = {
425+ ! ! article . config . shouldHideReaderRevenue
426+ }
427+ />
428+ </ Island >
429+ </ Hide >
430+ </ GridItem >
432431 </ article >
433432 ) ;
434433} ;
0 commit comments