Fix ads not loading (#781)

This commit is contained in:
Geometrically 2022-11-28 12:11:27 -08:00 committed by GitHub
parent 8f137cf49d
commit 2e3b56c52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="content-wrapper">
<div class="modrinth-content-wrapper">
<div data-ea-publisher="modrinth-com" data-ea-type="text" class="loaded">
<div class="ea-placement ea-type-text">
<div class="ea-content">
@ -53,7 +53,7 @@ export default {
</script>
<style lang="scss">
.content-wrapper {
.modrinth-content-wrapper {
min-height: 46.2px;
margin-bottom: var(--spacing-card-md);

View File

@ -570,8 +570,6 @@
v-if="project.status === 'approved' || project.status === 'unlisted'"
type="banner"
small-screen="square"
ethical-ads-small
ethical-ads-big
/>
<NavRow
:links="[

View File

@ -243,12 +243,7 @@
<a href="https://discord.gg/EUHuJHt" :target="$external()">Discord</a>
for support.
</div>
<Advertisement
type="banner"
small-screen="square"
ethical-ads-small
ethical-ads-big
/>
<Advertisement type="banner" small-screen="square" />
<div class="card search-controls">
<div class="search-filter-container">
<button

View File

@ -147,12 +147,7 @@
</article>
</div>
<div class="normal-page__content">
<Advertisement
type="banner"
small-screen="square"
ethical-ads-small
ethical-ads-big
/>
<Advertisement type="banner" small-screen="square" />
<nav class="card user-navigation">
<NavRow
query="type"