Skip to content

Commit

Permalink
optimize adsense style and doDeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Nov 5, 2018
1 parent e6a5d54 commit ee336eb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/sass/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ a {
padding: 1rem;

> .adsbygoogle {
width: 250px!important;
height: 250px!important;
// width: 250px!important;
// height: 250px!important;
overflow: hidden;
}
}
Expand Down
13 changes: 11 additions & 2 deletions components/adsense/aside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@
data-ad-slot="8929033492"
data-full-width-responsive="true">
</Adsense> -->
<Adsense
<!-- <Adsense
root-class="adsense-wrapper"
data-ad-client="ca-pub-4710915636313788"
data-ad-slot="3013952710">
</Adsense>
</Adsense> -->
<script2 type="text/javascript" async :src="ADS_SCRIPT"></script2>
<ins class="adsbygoogle"
style="display:inline-block;width:250px;height:250px"
data-ad-client="ca-pub-4710915636313788"
data-ad-slot="3013952710"
data-ad-format="auto"></ins>
<script2>
(adsbygoogle = window.adsbygoogle || []).push({});
</script2>
</no-ssr>
</div>
</template>
Expand Down

0 comments on commit ee336eb

Please sign in to comment.