Merge pull request #1178 from tangly1024/feat/theme-switch

adsense
This commit is contained in:
tangly1024
2023-06-20 14:38:42 +08:00
committed by GitHub

View File

@@ -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>