vitejs / vitejs/devtools

Tooltip arrow is too close to the edge without `arrow-padding` in ModuleId.vue

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
89
Avg merge
18h 46m
Merged PRs (30d)
24

Description

The effect of not adding the arrow-padding attribute.

Image

The following is the effect after adding it.

Image

But I don't know how to display it centered.

Reference: arrow-padding

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting ModuleId.vue and the referenced Floating Vue arrow-padding documentation, then compare the tooltip behavior shown in the two screenshots. The issue is done when the tooltip arrow is no longer too close to the edge and appears centered as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.