vuepress / vuepress-theme-blog

Default blog theme for VuePress.
https://vuepress-theme-blog.billyyyyy3320.com/
MIT License
211 stars 129 forks source link

Cannot click tag labels (on part of the tag without text) #84

Closed twitwi closed 4 years ago

twitwi commented 4 years ago

Bug report

Steps to reproduce

In a existing vuepress blog, visit a post that has tags, and click on one of the tag but outside of the text of the tag.

What is expected?

It navigates to the tag page (listing all the posts with the clicked tag).

What is actually happening?

Nothing happens, the link is not followed.

Other relevant information

This UX issue probably comes from the fact that the tag itself is a li in which only the text is a a (with some ::before etc). Having a structure like li>a>span and changing most of the css to apply on a instead of li and on span instead of a should be close to solving the issue.

billyyyyy3320 commented 4 years ago

Thanks for the report!

Contribution Welcome!