-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(playground): fix github button style #7722
Conversation
> | ||
<GitHub /> | ||
</a> | ||
<button title="View on GitHub" class="github" @click="openGithub"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using button instead of a tag to open a new page is not conducive to SEO, maybe you need to rethink how to solve it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source code href on github really need to SEO? 😲😲
We should just remove the |
@Justineo done |
|
||
.links .github:hover { | ||
color: var(--highlight); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to merge this into L292:300:
.links > button,
.links > a {
padding: 1px 6px;
color: var(--btn);
}
.links > button:hover,
.links > a:hover {
color: var(--highlight);
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
The size of button content is larger than inner a tag and has set
cursor: pointer
so when we click the padding part of button will not open github