Skip to content

Commit 3b45e97

Browse files
arraypressclaude
andcommitted
Keep the Help panel in its gutter on page screens
The page-screen class removes #wpcontent's 20px padding for the header; the Help and Screen Options panel sits in that padding and was left flush against the menu. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Kwx2STJ4EaVaJofEJJ9Zo
1 parent fc2c49d commit 3b45e97

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎assets/css/field-kit.css‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,14 @@ li.field-kit__repeater-row {
15491549
margin-inline-start: 22px;
15501550
}
15511551

1552+
/* The Help and Screen Options panel sits outside .wrap, in the padding
1553+
this screen removed, so it is given the 20px back: core's own figure,
1554+
and the far margin core already keeps. Without it the panel starts
1555+
flush against the menu on every screen that uses the header. */
1556+
.field-kit__page-screen #screen-meta {
1557+
margin-inline-start: 20px;
1558+
}
1559+
15521560
/* Admin notices land after the header, outside .wrap, where nothing else
15531561
supplies a gutter -- so they carry their own, lined up with the content
15541562
below rather than with core's figures for a page whose wrap sits

0 commit comments

Comments
 (0)