Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#20,009 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
51/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
PHP
Estrellas
3.6k
Forks
708
Merge medio
13 h 2 min
PR fusionados (30 d)
265

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de craftcms/cms

Todos los issues de craftcms/cms

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.