Push outbrain below the Nag
This is a quick-fix without having to make the 2 components know about each other. Ticket: 1165
This commit is contained in:
parent
52c15fc004
commit
67a822d536
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ export default function useAdOutbrain(hasPremiumPlus: boolean, isAuthenticated:
|
||||||
// Hide it immediately while we wait for ads to be filled. This prevents
|
// Hide it immediately while we wait for ads to be filled. This prevents
|
||||||
// the invisible container from blocking our content.
|
// the invisible container from blocking our content.
|
||||||
container.style.visibility = 'hidden';
|
container.style.visibility = 'hidden';
|
||||||
|
container.style.zIndex = '800'; // any value below $nag-z-index
|
||||||
|
|
||||||
// Restore visibility after confirming the ad is filled. If it is filled
|
// Restore visibility after confirming the ad is filled. If it is filled
|
||||||
// after the stipulated time, well, no soup for you.
|
// after the stipulated time, well, no soup for you.
|
||||||
|
|
Loading…
Reference in a new issue