Skip to content

Commit 32bed11

Browse files
committed
feat: update ci config
1 parent 6946361 commit 32bed11

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/Ads.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const {
2525
<ins class="adsbygoogle"
2626
style="display:block;width:100%;"
2727
data-ad-client="ca-pub-4147143076931995"
28-
data-ad-slot="1866407052"></ins>
28+
data-ad-slot="1866407052"
29+
data-ad-format="auto"
30+
data-full-width-responsive="true"></ins>
2931
<script is:inline>
3032
(adsbygoogle = window.adsbygoogle || []).push({});
3133
</script>

src/components/AdsBanner.astro

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ const {
2222
<ins class="adsbygoogle"
2323
style="display:block;width:100%;"
2424
data-ad-client="ca-pub-4147143076931995"
25-
data-ad-slot="6574899324"></ins>
25+
data-ad-slot="6574899324"
26+
data-ad-format="auto"
27+
data-full-width-responsive="true"></ins>
2628
<script is:inline>
2729
(adsbygoogle = window.adsbygoogle || []).push({});
2830
</script>
@@ -33,19 +35,15 @@ const {
3335

3436
<style>
3537
.google-ads-banner-frame {
36-
display: flex;
37-
align-items: center;
38-
justify-content: center;
3938
width: 100%;
4039
min-height: 0;
41-
padding: 1rem;
4240
border: 1px solid #e5e7eb;
4341
border-radius: 0.5rem;
4442
background-color: transparent;
4543
overflow: hidden;
4644
}
4745

48-
.google-banner-frame .adsbygoogle {
46+
.google-ads-banner-frame .adsbygoogle {
4947
display: block;
5048
width: 100%;
5149
}

0 commit comments

Comments
 (0)