Update valueimpression ad

This commit is contained in:
2021-12-16 19:46:48 +01:00
parent 5828c54412
commit bb4404e757
2 changed files with 11 additions and 1 deletions

View File

@@ -1402,3 +1402,8 @@ interdogmedia.com, 17207, DIRECT
apacdex.com, 17207, DIRECT apacdex.com, 17207, DIRECT
valueimpression.com, 17207, DIRECT valueimpression.com, 17207, DIRECT
quantumdex.io, 17207, DIRECT quantumdex.io, 17207, DIRECT
disqus.com, 4715692, DIRECT
onetag.com, 5cd7fb62fac7ec9, DIRECT
openx.com, 537133236, RESELLER, 6a698e2ec38604c6
pubmatic.com, 158685, RESELLER, 5d62403b186f2ace
rubiconproject.com, 13380, RESELLER, 0bfd66d529a55807

View File

@@ -150,7 +150,12 @@ head.valueimpression_loaded.subscribe(v => {
{:else if ad_type === "flyingsquare"} {:else if ad_type === "flyingsquare"}
<div bind:this={banner} class="xc449bad4854773ff banner" data-zone="28ebf286bb7d4446a5ba43b0ead8f1bb" style="width:728px;height:90px;display: inline-block;margin: 0 auto"></div> <div bind:this={banner} class="xc449bad4854773ff banner" data-zone="28ebf286bb7d4446a5ba43b0ead8f1bb" style="width:728px;height:90px;display: inline-block;margin: 0 auto"></div>
{:else if ad_type === "valueimpression"} {:else if ad_type === "valueimpression"}
<div bind:this={banner} class="adsbyvli banner" data-ad-slot="vi_1994884987" style="width: 728px; height: 90px"></div> <!-- Valueimpression overrides the style of its div after loading,
messing up our scaling script, so we wrap it in another div of the
correct size -->
<div bind:this={banner} class="banner" style="width: 728px; height: 90px; overflow: hidden;">
<div class="adsbyvli" data-ad-slot="vi_1994884987" style="width: 728px; height: 90px"></div>
</div>
{/if} {/if}
</div> </div>