Skip to content

Commit

Permalink
Merge pull request #1178 from tangly1024/feat/theme-switch
Browse files Browse the repository at this point in the history
adsense
  • Loading branch information
tangly1024 authored Jun 20, 2023
2 parents 75b9d7c + 9f05eb1 commit 5c8a7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/GoogleAdsense.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const AdSlot = ({ type = 'show' }) => {
// 原生广告
if (type === 'native') {
return <ins className="adsbygoogle"
style={{ display: 'block' }}
style={{ display: 'block', textAlign: 'center' }}
data-ad-format="autorelaxed"
data-ad-client={BLOG.ADSENSE_GOOGLE_ID}
data-ad-slot="4980048999"></ins>
Expand Down

0 comments on commit 5c8a7b6

Please sign in to comment.