File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ export const LightboxLink = ({
151
151
` ,
152
152
decideSize ( role , format ) ,
153
153
isMainMedia &&
154
- format . display === ArticleDisplay . Immersive &&
154
+ ( format . display === ArticleDisplay . Immersive ||
155
+ format . design === ArticleDesign . Gallery ) &&
155
156
visuallyHidden ,
156
157
] }
157
158
>
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ type Props = {
19
19
20
20
const styles = css `
21
21
${ grid . column . all }
22
+ position : relative;
22
23
height : calc (80vh - 48px );
23
24
grid-row : 1 / 8 ;
24
25
${ from . desktop } {
@@ -56,7 +57,7 @@ export const MainMediaGallery = ({
56
57
alt = { mainMedia . data . alt ?? '' }
57
58
width = { width }
58
59
height = { height }
59
- loading = { 'lazy' }
60
+ loading = "eager"
60
61
/>
61
62
</ Island >
62
63
) : (
@@ -76,7 +77,7 @@ export const MainMediaGallery = ({
76
77
role = { mainMedia . role }
77
78
format = { format }
78
79
elementId = { mainMedia . elementId }
79
- isMainMedia = { false }
80
+ isMainMedia = { true }
80
81
position = { mainMedia . position }
81
82
/>
82
83
) }
You can’t perform that action at this time.
0 commit comments