Skip to content

Commit b75000e

Browse files
committed
docs: do not adblock sponsors
1 parent 02edb22 commit b75000e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/components/SponsorPack.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ export default function SponsorPack({ sponsors, height }) {
3838
dangerouslySetInnerHTML={{
3939
__html: `
4040
41-
.sponsor-link {
41+
.spon-link {
4242
transition: all .2s ease;
4343
transform: translate(-50%, -50%);
4444
}
4545
46-
.sponsor-link:hover {
46+
.spon-link:hover {
4747
z-index: 10;
4848
transform: translate(-50%, -50%) scale(1.1);
4949
}
5050
51-
.sponsor-link:hover .sponsor-tooltip {
51+
.spon-link:hover .spon-tooltip {
5252
opacity: 1;
5353
}
5454
`,
@@ -66,7 +66,7 @@ export default function SponsorPack({ sponsors, height }) {
6666
circle.data.linkUrl ||
6767
`https://github.com/${circle.data.login}`
6868
}
69-
className="sponsor-link absolute shadow-lg bg-white rounded-full z-0"
69+
className="spon-link absolute shadow-lg bg-white rounded-full z-0"
7070
style={{
7171
left: circle.x,
7272
top: circle.y,
@@ -92,7 +92,7 @@ export default function SponsorPack({ sponsors, height }) {
9292
/>
9393
{circle.data.name ? (
9494
<div
95-
className="sponsor-tooltip absolute -top-0 left-1/2
95+
className="spon-tooltip absolute -top-0 left-1/2
9696
text-sm
9797
bg-gray-900 text-white p-2 pointer-events-none
9898
transform -translate-x-1/2 -translate-y-full opacity-0

0 commit comments

Comments
 (0)