Skip to content

Commit

Permalink
fix(playground): fix github button style
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Feb 16, 2023
1 parent a0e7dc3 commit 49bf4f2
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions packages/sfc-playground/src/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ async function fetchVersions(): Promise<string[]> {
>
<Download />
</button>
<button title="View on GitHub" class="github">
<a
href="https://github.com/vuejs/core/tree/main/packages/sfc-playground"
target="_blank"
>
<GitHub />
</a>
</button>
<a
href="https://github.com/vuejs/core/tree/main/packages/sfc-playground"
target="_blank"
title="View on GitHub"
class="github"
>
<GitHub />
</a>
</div>
</nav>
</template>
Expand Down Expand Up @@ -299,6 +299,15 @@ h1 img {
color: var(--highlight);
}
.links .github {
color: var(--btn);
padding: 1px 6px;
}
.links .github:hover {
color: var(--highlight);
}
.version:hover .active-version::after {
border-top-color: var(--btn);
}
Expand Down

0 comments on commit 49bf4f2

Please sign in to comment.