We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7385e9 commit 4cfa0bdCopy full SHA for 4cfa0bd
dotcom-rendering/src/components/AdSlot.web.tsx
@@ -128,7 +128,9 @@ const topAboveNavContainerVariantStyles = css`
128
&[top-above-nav-ad-rendered='true'] {
129
min-height: auto;
130
}
131
+`;
132
133
+const topAboveNavBackgroundVariantStyles = css`
134
.ad-slot--top-above-nav:not([data-google-query-id]) {
135
margin: 24px auto 0;
136
height: 250px;
@@ -607,7 +609,10 @@ export const AdSlot = ({
607
609
<AdSlotWrapper
608
610
css={
611
isIn250ReservationVariant
- ? topAboveNavContainerVariantStyles
612
+ ? [
613
+ topAboveNavContainerVariantStyles,
614
+ topAboveNavBackgroundVariantStyles,
615
+ ]
616
: topAboveNavContainerStyles
617
618
>
0 commit comments