Skip to content

Commit 5beacf6

Browse files
committed
Update top-above-nav background width for tablet to 728px
1 parent fb3dc62 commit 5beacf6

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)