Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
fix: sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-maulana-tkp committed Sep 24, 2020
1 parent 780103c commit 29bf8e0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 20 deletions.
12 changes: 6 additions & 6 deletions packages/demo/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</section>

<section class="container ads">
<c-flex m="4" align="center" justify="center" direction="column">
<c-box minW="sm" border-width="1px" rounded="lg" overflow="hidden">
<c-flex align="center" justify="center" direction="column">
<c-box w="100%" border-width="1px" rounded="lg" overflow="hidden">
<InArticleAdsense
style="min-width: 250px; margin: 1em 0"
style="width: 100%; min-width: 250px;"
data-ad-client="ca-pub-5442972248172818"
data-ad-slot="7974047383"
/>
Expand Down Expand Up @@ -42,10 +42,10 @@
</section>

<section class="container ads">
<c-flex m="4" align="center" justify="center" direction="column">
<c-box minW="sm" border-width="1px" rounded="lg" overflow="hidden">
<c-flex align="center" justify="center" direction="column">
<c-box w="100%" border-width="1px" rounded="lg" overflow="hidden">
<InArticleAdsense
style="min-width: 250px; margin: 1em 0"
style="width: 100%; min-width: 250px;"
data-ad-client="ca-pub-5442972248172818"
data-ad-slot="7974047383"
/>
Expand Down
34 changes: 23 additions & 11 deletions packages/demo/src/views/InArticle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@
</c-text>

<div class="ads">
<c-flex m="4" align="center" justify="center" direction="column">
<c-box minW="sm" overflow="hidden">
<InArticleAdsense style="min-width: 250px; margin: 1em 0" data-ad-client="ca-pub-5442972248172818" data-ad-slot="7974047383" />
<c-flex align="center" justify="center" direction="column">
<c-box w="100%" overflow="hidden">
<InArticleAdsense
style="width: 100%; min-width: 250px;"
data-ad-client="ca-pub-5442972248172818"
data-ad-slot="7974047383"
/>
</c-box>
</c-flex>
</div>
Expand Down Expand Up @@ -72,9 +76,9 @@
pulvinar id ante nec, vulputate bibendum lectus.
</c-text>

<c-flex m="4" align="center" justify="center" direction="column">
<c-flex align="center" justify="center" direction="column">
<c-box minW="sm" overflow="hidden">
<InArticleAdsense style="min-width: 250px; margin: 1em 0" data-ad-client="ca-pub-5442972248172818" data-ad-slot="7974047383" />
<InArticleAdsense style="min-width: 250px;" data-ad-client="ca-pub-5442972248172818" data-ad-slot="2669016517" />
</c-box>
</c-flex>

Expand Down Expand Up @@ -107,9 +111,13 @@
</c-text>

<div class="ads">
<c-flex m="4" align="center" justify="center" direction="column">
<c-box minW="sm" border-width="1px" rounded="lg" overflow="hidden">
<InArticleAdsense style="min-width: 250px; margin: 1em 0" data-ad-client="ca-pub-5442972248172818" data-ad-slot="7974047383" />
<c-flex align="center" justify="center" direction="column">
<c-box w="100%" overflow="hidden">
<InArticleAdsense
style="width: 100%; min-width: 250px;"
data-ad-client="ca-pub-5442972248172818"
data-ad-slot="7974047383"
/>
</c-box>
</c-flex>
</div>
Expand All @@ -135,9 +143,13 @@
</section>

<section class="container ads">
<c-flex m="4" align="center" justify="center" direction="column">
<c-box minW="sm" border-width="1px" rounded="lg" overflow="hidden">
<InArticleAdsense style="min-width: 250px; margin: 1em 0" data-ad-client="ca-pub-5442972248172818" data-ad-slot="7974047383" />
<c-flex align="center" justify="center" direction="column">
<c-box w="100%" border-width="1px" rounded="lg" overflow="hidden">
<InArticleAdsense
style="width: 100%; min-width: 250px;"
data-ad-client="ca-pub-5442972248172818"
data-ad-slot="7974047383"
/>
</c-box>
</c-flex>
</section>
Expand Down
6 changes: 3 additions & 3 deletions packages/demo/src/views/InFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
</section>

<section class="container ads">
<c-flex m="4" align="center" justify="center" direction="column">
<c-box minW="sm" border-width="1px" rounded="lg" overflow="hidden">
<c-flex align="center" justify="center" direction="column">
<c-box w="100%" border-width="1px" rounded="lg" overflow="hidden">
<InArticleAdsense
style="min-width: 250px; margin: 1em 0"
style="width: 100%; min-width: 250px;"
data-ad-client="ca-pub-5442972248172818"
data-ad-slot="7974047383"
/>
Expand Down

0 comments on commit 29bf8e0

Please sign in to comment.