Skip to content

Commit 5ced0cc

Browse files
committedAug 21, 2023
fix(theme): show only one carbon ad at a time
1 parent 00dc1e6 commit 5ced0cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/client/theme-default/components/VPCarbonAds.vue

+8
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,12 @@ if (carbonOptions) {
9898
.VPCarbonAds :deep(.carbon-poweredby:hover) {
9999
color: var(--vp-carbon-ads-hover-poweredby-color);
100100
}
101+
102+
.VPCarbonAds :deep(> div) {
103+
display: none;
104+
}
105+
106+
.VPCarbonAds :deep(> div:first-of-type) {
107+
display: block;
108+
}
101109
</style>

0 commit comments

Comments
 (0)
Please sign in to comment.