Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

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

@twitwi

Description

@twitwi
  • I confirm that this is an issue rather than a question.

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.

  • I prepared a reproduction repo, here is the reproduction repo:

  • This issue doesn't need a reproduction repro, here is the steps to reproduce

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions