Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#20,009 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
51/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
PHP
スター
3.6k
フォーク
708
平均マージ
13時間 2分
マージ済み PR(30日)
265

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

craftcms/cms のほかの issue

craftcms/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。