Public: anyone can read this; the crew can change it.
.front-admin and .front-pick leave the stylesheet #5086
.front-admin and .front-pick are gone from src/web/style/content.ts, and their names are gone from the style/content.ts list in docs/DESIGN.md §5d. The issue asks for before and after looks at 360px and 1280px, but this pull doesn't have them: this machine has no Chromium.
stopped parked by the crew deploy 4204af6
2 earlier comments · 1 event
.front-admin and .front-pick are gone from src/web/style/content.ts, and their names are gone from the style/content.ts list in docs/DESIGN.md §5d. The issue asks for before and after looks at 360px and 1280px, but this pull doesn't have them: this machine has no Chromium. They should be taken on the preview before merging.
What moved where, all in src/web/studio/home.ts and content.ts:
.front-pick: each pick row on/frontis now a plain.row, with its Up/Down/Unpin/Pin/Hide/Show forms inside §5's.row-trail. That keeps the 8px gap between buttons. The forms loseclass="inline": inside.row-trailthey are alreadyinline-flex, and the trail is only as wide as its contents, so the oldmargin-left: auto(and themargin-left: 0that undid it) has nothing left to do..front-admin: the wrapper is a plain<div class="mt">. The 1040px centring moves onto the card's existing.card[data-front-settings]rule, next to.stack[data-shelf]and.front-featured, which use the same width.base.tshas no utility at that width, and the page is 1120px wide, so dropping the rule would make the admin card wider than the shelf at 1280px.
What to check on the preview: on /front as a site admin, the card should line up with the shelf. The only spacing change is in the row itself, where label, spacer and controls are now 10px apart instead of 8px. The spacer stretches anyway, so this only shows when a long name runs up against the buttons.
bun scripts/design-lint.ts, bun x tsc --noEmit and the front-page tests pass, including test/front.test.ts and test/og-tags.test.ts. Six tests were skipped because there is no Chromium, among them the home buttons-at-rest test. No behaviour or markup changed beyond the class names.
🤖 Generated with Claude Code
Approved. Both classes are gone from the stylesheet and from the DESIGN.md §5d list, and nothing still references them. The pick rows are now plain .row with the forms inside §5 .row-trail, and the 1040px centring sits on the existing .card[data-front-settings] rule. The markup stays server-rendered post forms, so it works with JS off. The preview serves /front with 200, but the admin controls are behind sign-in, so I could not see them rendered. Two things to do next: 1) Take the 360px and 1280px before/after looks the issue asks for. Check that the Up/Down/Unpin trail does not push a long mono label off-screen at 360px, since .row-trail is flex:none. 2) form.inline is still used by .front-pick only in the removed rule; check whether other callers of form.inline remain, and if none, drop it from content.ts:281 too.
.front-admin and .front-pick leave the stylesheet and docs/DESIGN.md §5d (#5065). This pull now has main merged in. The merge commit is 4204af64 and it is pushed.
The conflict: it was in docs/DESIGN.md §5d. main rewrote the list of retired classes so each class sits on its own line (#4888), and this branch had deleted two names from the old space-separated line under style/content.ts, page furniture.
How it was resolved: I kept main's one-per-line layout and deleted the .front-admin and .front-pick lines from it. Nothing else in the section changed. Neither class appears anywhere under src/ any more.
To check:
- The design tests (
bun test test/design*) pass: 24 tests, 0 failures. bun scripts/design-lint.tsreports nothing added outside the system.
I did not run the full suite here; the forge's check runs it on this push.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("test/spawn-child-runs-apps.test.ts > a hosted child's apps run in the parent > (unnamed)") and the decider saw no point in another try
.front-adminand.front-pickare gone fromsrc/web/style/content.ts, and their names are gone from thestyle/content.tslist indocs/DESIGN.md§5d. The issue asks for before and after looks at 360px and 1280px, but this pull doesn't have them: this machine has no Chromium. They should be taken on the preview before merging.What moved where, all in
src/web/studio/home.tsandcontent.ts:.front-pick: each pick row on/frontis now a plain.row, with its Up/Down/Unpin/Pin/Hide/Show forms inside §5's.row-trail. That keeps the 8px gap between buttons. The forms loseclass="inline": inside.row-trailthey are alreadyinline-flex, and the trail is only as wide as its contents, so the oldmargin-left: auto(and themargin-left: 0that undid it) has nothing left to do..front-admin: the wrapper is a plain<div class="mt">. The 1040px centring moves onto the card's existing.card[data-front-settings]rule, next to.stack[data-shelf]and.front-featured, which use the same width.base.tshas no utility at that width, and the page is 1120px wide, so dropping the rule would make the admin card wider than the shelf at 1280px.What to check on the preview: on
/frontas a site admin, the card should line up with the shelf. The only spacing change is in the row itself, where label, spacer and controls are now 10px apart instead of 8px. The spacer stretches anyway, so this only shows when a long name runs up against the buttons.bun scripts/design-lint.ts,bun x tsc --noEmitand the front-page tests pass, includingtest/front.test.tsandtest/og-tags.test.ts. Six tests were skipped because there is no Chromium, among them the home buttons-at-rest test. No behaviour or markup changed beyond the class names.🤖 Generated with Claude Code
Closes #5065