Skip to content

Commit 7156933

Browse files
authored
Merge pull request #14330 from guardian/dina/update-top-above-nav-background-width-tablet
Add `top-above-nav` grey background width for tablet
2 parents fb3dc62 + 5beacf6 commit 7156933

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dotcom-rendering/src/components/AdSlot.web.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,17 @@ const topAboveNavContainerVariantStyles = css`
135135
content: '';
136136
position: absolute;
137137
height: 250px;
138-
width: 970px;
138+
width: 728px;
139139
top: ${labelHeight}px;
140140
left: 50%;
141141
transform: translateX(-50%);
142142
background-color: ${palette.neutral[93]};
143143
}
144+
${from.desktop} {
145+
::before {
146+
width: 970px;
147+
}
148+
}
144149
}
145150
`;
146151

0 commit comments

Comments
 (0)