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

[6.x]: Entry edit page shows a vertical scrollbar even when content fits the viewport

Chiusa
#20,009 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
51/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
frontend

Direzione di ricerca

The issue identifies .page-screen and --cp-details-end-gap as clues, but does not name a file or test. Start by locating those styles and comparing the entry edit page with a page that has no excess scroll range. Done when the scrollbar disappears whenever the content fits the viewport; add or update a regression test if the project has coverage for this layout.

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

Descrizione

bug repo:cms
What happened?
Description

After a recent commit (not sure which one, I'm on 4d5bbd29 currenlty) I observe that, on entry edit pages, a vertical scrollbar appears (~9px of scroll range) even though all content fits in the window.

Steps to reproduce
  1. Open any entry's edit page in a large browser window where the content (or the specific tab content) doesn't need the scroll to fit.
Expected behavior

No vertical scrollbar when the content fits in the window.

Actual behavior

The page has a vertical scrollbar with ~9px of empty scroll range. Claude says that "the --cp-details-end-gap value on .page-screen is 0px when this happens (it is 9px on a page without the problem)." but in my tests all entry edit forms have the same problem so I can't confirm that.

See screenshot:

Image
Craft CMS version

6.x-dev (4d5bbd29)

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions
Lingua principale
PHP
Stelle
3.6k
Fork
708
Merge medio
10h 57m
PR unite (30g)
275

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 craftcms/cms

Tutte le issue di craftcms/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.