diplodoc-platform / diplodoc-platform/cli

Toc links only works on text click

Open
#1,267 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
123
Forks
51
Avg merge
10h 50m
Merged PRs (30d)
38

Description

### Package version

5.0.11

### Node version

20.19.2

### Platform

Static build

### What steps will reproduce the bug?

Try to navigate using toc link with items inside: click the right side of the button (with no text). It would not navigate you to another page.

### What is the expected behavior?

It would be better if the click worked on the whole button.

### What do you see instead?

Click on toc links with `items` inside works only on text content:

![Image](https://github.com/user-attachments/assets/68f11d4b-5f8b-4459-b15c-30458aee10de)

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.