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 6a7830b commit 6396679
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions assets/sass/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,14 @@ a {
.adsense {
width: 100%;
height: auto;
}

.adsense-wrapper {
background-color: $module-bg;

> .adsbygoogle {
height: 7em!important;
}
}

// swiper
Expand Down
3 changes: 2 additions & 1 deletion components/adsense/archive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<div class="adsense adsense-archive">
<no-ssr>
<InFeedAdsense
data-ad-layout-key="-gr+2t+6c-62-53"
root-class="adsense-wrapper"
data-ad-layout-key="-h9-n+3k-8d+6y"
data-ad-client="ca-pub-4710915636313788"
data-ad-slot="1148538406">
</InFeedAdsense>
Expand Down

0 comments on commit 6396679

Please sign in to comment.