Skip to content

Commit 7d90dd7

Browse files
arraypressclaude
andcommitted
Size the header mark against the heading beside it
40px is what a centred, stacked header has room for. In the left-aligned one the mark sat twice the height of the word next to it, which reads as a logo dropped on the page rather than one belonging to the title. 1.6em, and the title row centres its children so the mark, the heading and the button share a line instead of each finding its own. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tk8y5eZa3CHVVSM6nVxsJw
1 parent 6cc195d commit 7d90dd7

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎assets/css/field-kit.css‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,22 @@ li.field-kit__repeater-row {
14321432
margin-right: 0;
14331433
}
14341434

1435+
/* Sized against the heading it sits beside rather than the 40px a centred,
1436+
stacked header has room for. A mark twice the height of the word next to it
1437+
reads as a logo that has been dropped on the page rather than one that
1438+
belongs to the title. */
1439+
.field-kit__page-header--left .field-kit__page-logo {
1440+
max-height: 1.6em;
1441+
margin-right: 0;
1442+
flex: 0 0 auto;
1443+
}
1444+
1445+
/* Centred on each other, so the mark, the heading and the button share a
1446+
line instead of each finding its own. */
1447+
.field-kit__page-header--left .privacy-settings-title-section {
1448+
align-items: center;
1449+
}
1450+
14351451
/* Beside the heading, and on its baseline rather than the flex line's. No
14361452
bottom margin: the row already carries a rem of bottom padding, and the
14371453
two together left the actions sitting a clear gap below the title they

0 commit comments

Comments
 (0)