Skip to content

Commit

Permalink
fix(theme): change sponsor link class name to bypass adblock (#866) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Jun 26, 2022
1 parent a689f6b commit e33955e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/client/theme-default/components/VPTeamMembersItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ defineProps<{
</div>
</div>
</div>
<div v-if="member.sponsor" class="sponsor">
<VPLink class="sponsor-link" :href="member.sponsor" no-icon>
<VPIconHeart class="sponsor-icon" /> Sponsor
<div v-if="member.sponsor" class="sp">
<VPLink class="sp-link" :href="member.sponsor" no-icon>
<VPIconHeart class="sp-icon" /> Sponsor
</VPLink>
</div>
</article>
Expand Down Expand Up @@ -186,7 +186,7 @@ defineProps<{
height: 56px;
}
.sponsor-link {
.sp-link {
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -199,14 +199,14 @@ defineProps<{
transition: color 0.25s, background-color 0.25s;
}
.sponsor-link:hover,
.sponsor-link:focus {
.sp-link:hover,
.sp-link:focus {
outline: none;
color: var(--vp-c-text-dark-1);
background-color: var(--vp-c-sponsor);
}
.sponsor-icon {
.sp-icon {
margin-right: 8px;
width: 16px;
height: 16px;
Expand Down

0 comments on commit e33955e

Please sign in to comment.