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

Consistent left alignment for non-object and object properties

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

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Inspect the styles affecting .w-rjv-inner, .w-json-view-container, and .w-rjv-wrap, starting with the existing CSS shown in the issue. Compare the current layout with the provided before and after screenshots, then verify that object and non-object properties share the same left axis without the hacky overrides.

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

Descrizione

Should we nudge the CSS of the w-rjv-inner that are not w-json-view-container so that the text of the non-object properties and object properties lay on the same left hand axis?

Currently we are doing this hack, but it's not pretty 😅

  .w-rjv-wrap {
    padding-left: 1.875rem !important;
  }

  .w-rjv-inner:not(.w-json-view-container):has(.w-rjv-arrow) {
    margin-left: -0.875rem;
  }
Before After
Before After
Lingua principale
TypeScript
Stelle
421
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 uiwjs/react-json-view

Tutte le issue di uiwjs/react-json-view

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.