Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Global `h1`, `h2` etc styles affect devtools styles

Aperta
#215 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
css, react, typescript
Ambito
devtools, frontend

Direzione di ricerca

Inizia riproducendo il problema in TanStack Devtools v0.7.6 con stili globali per h1, h2 e h3, concentrandoti sul titolo del drawer e sulla sua classe esistente plugin-title-container-tanstack-query-0. Il lavoro è completato quando le intestazioni di devtools rimangono leggibili sullo sfondo scuro nonostante gli stili delle intestazioni del consumer; anche l’errore di template segnalato viene annotato per essere analizzato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

TanStack Devtools version

v0.7.6

Framework/Library version

React v18.3.1

Describe the bug and the steps to reproduce it

We have some global styles on heading elements (don't ask... legacy 😅)

Image

This makes the different panels unreadable on the dark background

Image

(screenshot doesn't do it justice for how it looks "live" for some reason, but it illustrates the point).

The h3 already has a class plugin-title-container-tanstack-query-0, so in theory you should be able to set some light color to it?

If I disable our rule, it inherits the color of its parent

Image

But that's less specific then an h3 rule apparently.

Note that beyond the title in the drawer, none of our other global resets seems to affect the devtools 👍


Btw, the template has a small error:

Image
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

N/A

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Lingua principale
TypeScript
Stelle
499
Fork
100
Merge medio
1g 17h
PR unite (30g)
4

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/devtools

Tutte le issue di TanStack/devtools

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.