Skip to content

Commit

Permalink
fix(playground): fix github button style (#7722)
Browse files Browse the repository at this point in the history
* fix(playground): fix github button style

* style: merge selector

* Update Header.vue

---------

Co-authored-by: GU Yiling <justice360@gmail.com>
  • Loading branch information
BeADre and Justineo authored Jul 9, 2023
1 parent 516fabb commit 5ee992c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions packages/sfc-playground/src/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,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 @@ -302,12 +302,13 @@ h1 img {
}
.links button,
.links button a {
.links .github {
padding: 1px 6px;
color: var(--btn);
}
.links button:hover,
.links button:hover a {
.links .github:hover {
color: var(--highlight);
}
Expand Down

0 comments on commit 5ee992c

Please sign in to comment.