json-schema-org / json-schema-org/website

🐛 Bug: Dark mode navbar shows stray black underline on hover after page load

Open
#2,179 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 Bug needs-info Status: Triage
Dominant language
HTML
Stars
169
Forks
484
Avg merge
2d 2h
Merged PRs (30d)
6

Description

Describe the bug
  • In dark mode on https://json-schema.org/ the navbar items (e.g., Specification, Docs, Tools, Blog, Community) show unwanted black underline lines when hovered.

  • This issue does not appear immediately on page load. It starts appearing after ~2–3 seconds once the website finishes loading styles/resources and we hower it few times.

  • The underline looks like a rendering/glitch artifact rather than intended styling.

Screencast:

https://github.com/user-attachments/assets/69fa8841-36f3-41be-81ab-06a4e23b011a

Steps To Reproduce
  1. Go to https://json-schema.org/
  2. Enable dark mode (moon icon in navbar)
  3. Wait 2–3 seconds after the page fully loads
  4. Hover over navbar items like Specification, Blog, Community multipe times.
  5. Observe thin black lines appearing under the text
Expected Behavior

Hovering over navbar items in dark mode should show the intended highlight/underline effect without any black glitch lines.

Screenshots

Attached Above.

Device Information [optional]
- OS:Ubuntu (latest)
- Browser: Brave
- version:
Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

No

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

Reproduce the issue on https://json-schema.org/ by enabling dark mode, waiting for the page to finish loading, and repeatedly hovering navbar items. Inspect the navbar's dark-mode hover styling and verify that the intended highlight appears without black underline artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.