File tree Expand file tree Collapse file tree
dotcom-rendering/src/layouts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ export const StandardLayoutArticleGrid = ({
211211 const layoutType = getLayoutType ( {
212212 isImmersive,
213213 isFeature,
214- orientation : isFixedHeightImage ? 'landscape' : mainMediaOrientation ,
214+ orientation : mainMediaOrientation ,
215215 isMedia,
216216 isShowcase,
217217 } ) ;
@@ -276,8 +276,7 @@ export const StandardLayoutArticleGrid = ({
276276 ? css `
277277 ${ from . desktop } {
278278 align-self : start;
279- ${ ! isFixedHeightImage &&
280- mainMediaAspectRatio != null &&
279+ ${ mainMediaAspectRatio != null &&
281280 `aspect-ratio: ${ mainMediaAspectRatio . replace ( ':' , ' / ' ) } ;` }
282281 ${ layoutType === 'immersiveLandscape' &&
283282 `margin-left: -20px;
@@ -292,14 +291,16 @@ export const StandardLayoutArticleGrid = ({
292291
293292 ${ isFixedHeightImage &&
294293 css `
295- position : relative;
296- height : 469px ;
297- overflow : hidden;
298- background-color : ${ headlineBackgroundImmersive } ;
294+ ${ until . desktop } {
295+ position : relative;
296+ height : 469px ;
297+ overflow : hidden;
298+ background-color : ${ headlineBackgroundImmersive } ;
299299
300- > div {
301- position : absolute;
302- inset : 0 ;
300+ > div {
301+ position : absolute;
302+ inset : 0 ;
303+ }
303304 }
304305 ` }
305306 `
You can’t perform that action at this time.
0 commit comments