Skip to content

Commit 9a76582

Browse files
committed
docs: fix display ads
1 parent e339ad5 commit 9a76582

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/.vitepress/theme/Layout.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ export default {
4444
form {
4545
margin-block-end: 0;
4646
}
47+
48+
.custom-blocks {
49+
overflow-x: auto;
50+
}
4751
</style>

docs/.vitepress/theme/components/CarbonAds.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@ export default {
3636
<style>
3737
.carbon-ads {
3838
min-height: 102px;
39-
padding: 1.5rem 1.5rem 0;
4039
font-size: 0.75rem;
4140
42-
width: 125px;
41+
width: 130px;
4342
position: fixed;
4443
z-index: 19;
4544
bottom: 0;
4645
right: 22px;
47-
padding: 10px;
46+
margin: 10px;
4847
}
4948
5049
@media screen and (max-width: 425px) {
@@ -59,9 +58,9 @@ export default {
5958
z-index: 1;
6059
position: relative;
6160
top: 12px;
62-
right: 20px;
61+
right: 0;
6362
float: right;
64-
padding: 0 0 20px 30px;
63+
margin: 0 0 20px 30px;
6564
}
6665
}
6766

0 commit comments

Comments
 (0)