From c0b98c0b0118c89678469b1408bf122602798ceb Mon Sep 17 00:00:00 2001 From: "smalruby3-editor-bot[bot]" <297607354+smalruby3-editor-bot[bot]@users.noreply.github.com> Date: Sun, 26 Jul 2026 13:40:00 +0000 Subject: [PATCH] =?UTF-8?q?fix(classroom):=20=E3=81=8A=E7=9F=A5=E3=82=89?= =?UTF-8?q?=E3=81=9B=E7=94=BB=E9=9D=A2=E3=81=AE=E3=83=98=E3=83=83=E3=83=80?= =?UTF-8?q?=E3=83=BC=E4=BD=8D=E7=BD=AE=E3=82=92=E4=BB=96=E3=81=AE=E3=82=AF?= =?UTF-8?q?=E3=83=A9=E3=82=B9=E7=AE=A1=E7=90=86=E7=94=BB=E9=9D=A2=E3=81=AB?= =?UTF-8?q?=E3=81=9D=E3=82=8D=E3=81=88=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit パンくずラッパー (.detail-breadcrumbs) が top offset を持つのに .notifications-page も top padding を持っていたため、パンくずとタイトルの間隔が評価画面などより広かった。 .detail-layout と同じく top padding を 0 にし、タイトルを .teacher-view-title と同じ 濃い太字 (font-weight: bold) に揃えた。data-testid は不変で既存テストは通る。 Closes #1123 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../classroom-teacher-modal/classroom-teacher-modal.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/scratch-gui/src/components/classroom-teacher-modal/classroom-teacher-modal.css b/packages/scratch-gui/src/components/classroom-teacher-modal/classroom-teacher-modal.css index 403da15dd9..eb6d23f563 100644 --- a/packages/scratch-gui/src/components/classroom-teacher-modal/classroom-teacher-modal.css +++ b/packages/scratch-gui/src/components/classroom-teacher-modal/classroom-teacher-modal.css @@ -687,12 +687,17 @@ /* お知らせ全件一覧ページ + ページネーション。 */ .notifications-page { - padding: 1.25rem 2rem; + /* 上のパンくずラッパー (.detail-breadcrumbs) が top offset を持つので、 + 他のクラス管理画面 (.detail-layout) と同じく top padding は 0 にする。 + これで「パンくず → タイトル」の間隔が評価画面などと揃う (#1123)。 */ + padding: 0 2rem 1.25rem; max-width: 48rem; } .notifications-page-title { font-size: 1.3rem; + /* 他のクラス管理画面のタイトル (.teacher-view-title) と同じ濃い太字に揃える (#1123)。 */ + font-weight: bold; color: #575e75; margin: 0.25rem 0 1rem; }