Skip to content

Commit

Permalink
fix: avoid sponsor link being blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Apr 11, 2024
1 parent 7fe1d80 commit 251ddc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Sponsors.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const { smallPadding } = Astro.props;
))
}
</section>
<section class="not-content sponsor-link-container">
<a class="sponsor-link" href="https://github.com/sponsors/johnsoncodehk">πŸ’™ Sponsor Volar πŸ’™</a>
<section class="not-content cta-github-container">
<a class="cta-github" href="https://github.com/sponsors/johnsoncodehk">πŸ’™ Sponsor Volar πŸ’™</a>
</section>

<style>
Expand Down Expand Up @@ -109,16 +109,16 @@ const { smallPadding } = Astro.props;
clip-path: inset(50%);
overflow: hidden;
}
.sponsor-link-container {
.cta-github-container {
text-align: center;
}
.sponsor-link {
.cta-github {
font-size: 1.25rem;
text-decoration: none;
color: var(--sl-color-text-accent);
display: inline !important;
}
.sponsor-link:hover {
.cta-github:hover {
color: var(--sl-color-accent);
}
</style>
Expand Down

0 comments on commit 251ddc8

Please sign in to comment.