Editor side panel: the Categories list's empty text and Add button sit indented, out of line with the labels

Aperta Adatta ai principianti
#675 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
85/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

La correzione si trova in resources/js/components/term-tree-picker.tsx. Osserva il li dello stato vuoto e il pulsante fantasma Add, che hanno ciascuno il proprio padding orizzontale, e confrontali con l'etichetta Categories e il campo Tags nello stesso pannello. È completato quando il testo «None yet.» e il pulsante Add iniziano allo stesso bordo sinistro dell'etichetta Categories e del campo Tags. Verifica visualizzando il pannello laterale dell'editor su un sito senza categorie.

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

Descrizione

area/editor type/bug when/later

What

In the editor's side panel, under Categories and tags, when the site has no categories yet, the "None yet." line and the "+ Add" button are indented to the right of the "Categories" label. The Tags field below starts flush with its label, so the two halves of the section don't line up.

The two different controls are intended (categories are a tree picked from a checklist, tags are typed), only the alignment is wrong.

Where

resources/js/components/term-tree-picker.tsx: the empty-state <li> and the ghost Add button carry their own horizontal padding.

Done when

The empty text and the Add button start at the same left edge as the "Categories" label and the Tags field.

When

Later.

🤖 Generated with Claude Code

Lingua principale
PHP
Stelle
1
Fork
1
Merge medio
1h 40m
PR unite (30g)
143

Preparare l'ambiente

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 temecms/teme

Tutte le issue di temecms/teme

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.