File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,8 @@ const galleryStyles = css`
397397 ${ grid . between ( 'grid-start' , 'centre-column-end' ) }
398398
399399 grid- row: 7/ 9;
400+ position: relative;
401+ z- index: ${ getZIndex ( 'articleHeadline' ) } ;
400402
401403 ${ from . tablet } {
402404 ${ grid . between ( 'centre-column-start' , 'grid-end' ) } ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { isUndefined } from '@guardian/libs';
33import { from } from '@guardian/source/foundations' ;
44import { grid } from '../grid' ;
55import { type ArticleFormat } from '../lib/articleFormat' ;
6+ import { getZIndex } from '../lib/getZIndex' ;
67import { getImage } from '../lib/image' ;
78import { type ImageBlockElement } from '../types/content' ;
89import { type RenderingTarget } from '../types/renderingTarget' ;
@@ -19,8 +20,10 @@ type Props = {
1920
2021const styles = css `
2122 ${ grid . column . all }
23+ position : relative;
2224 height : calc (80vh - 48px );
2325 grid-row : 1 / 8 ;
26+ z-index : ${ getZIndex ( 'mainMedia' ) } ;
2427 ${ from . desktop } {
2528 height : calc (100vh - 48px );
2629 }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import {
1919 type ArticleFormat ,
2020 ArticleSpecial ,
2121} from '../lib/articleFormat' ;
22+ import { getZIndex } from '../lib/getZIndex' ;
2223import { palette as themePalette } from '../palette' ;
2324import type { TagType } from '../types/tag' ;
2425import { Hide } from './Hide' ;
@@ -370,6 +371,8 @@ export const SeriesSectionLink = ({
370371 format . design === ArticleDesign . Gallery &&
371372 css `
372373 dis play: inline-block;
374+ position: relative;
375+ z- index: ${ getZIndex ( 'articleHeadline' ) } ;
373376 ` ,
374377 format . display === ArticleDisplay . Immersive &&
375378 css `
You can’t perform that action at this time.
0 commit comments