Content lists: Columns wraps onto its own line at the left, and shows on an empty list

Aperta Adatta ai principianti
#672 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
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Inizia da resources/js/pages/content/index.tsx nella riga dei filtri, dove il gruppo finale («Columns» più il selettore elenco/albero) è posizionato con end. Riproduci il problema con una finestra di 1440 px e tutti i filtri compilati per vedere l'andata a capo. Poi fai in modo che il gruppo finale resti allineato a destra sulla riga andata a capo e nascondi «Columns» quando l'elenco è vuoto («No posts here yet»). È completato quando passa il test del browser esistente che verifica l'allineamento a destra e il caso di elenco vuoto. Esegui quel file di test dopo la modifica.

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

Descrizione

area/lists type/bug when/later

On Posts (and every content list), the filter row's end group ("Columns", and the list/tree switch for types with parents) belongs at the row's right end (end in resources/js/pages/content/index.tsx). When the filters fill the row (search, In titles, authors, categories, tags, dates at a normal desktop width), the end group wraps onto a new line and sits alone at its left, where it reads as a stray item under the search.

Expected:

  • the end group stays at the right: at the end of the first line, with the filters wrapping before it, or right-aligned on the line it wraps to;
  • with no items in the list ("No posts here yet"), Columns isn't shown, since there's no table for it to change.

A browser test at 1440 px checks Columns is right-aligned when the filters wrap, and absent on an empty list.

🤖 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.