leeoniya / leeoniya/uPlot

small visual artifact in legend

Open
#406 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
463
PR merge metrics
No merged PRs in 30d

Description

Just a small visual artifact I noticed while playing with the legend in Chrome:
background-clip-artifact

Due to the background-clip CSS property of .u-legend .u-marker some screens might show this. I guess it depends on screen resolution.
I suggest to get rid of background-clip and use outline instead of border (with some size tweaking) for the dynamically generated inline style. This way you can still support transparent colors.

Great work so far 👍
Florian

Contributor guide

No contributing guide indexed for this repository

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

Search the source for .u-legend .u-marker, its background-clip rule, and the dynamically generated inline style. Reproduce the artifact in Chrome using the attached image as a reference, then verify that the legend renders without it while transparent colors remain supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.