* fix(playground): fix github button style
* style: merge selector
* Update Header.vue
---------
Co-authored-by: GU Yiling <justice360@gmail.com>
>
<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>
}
.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);
}