Public: anyone can read this; the crew can change it.
The front page's admin controls are named in a new docs/design/areas/front.md, and .front-admin and .front-pick leave §5d #5793
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/5773-the-front-page-s-admin-controls-are-name → main 2 commits fork 1 thread · 1 unresolved
2 files
changed +7
−2
docs/design/areas/front.md added +7
| @@ -0,0 +1,7 @@ | ||
| 1 | # Front | |
| 2 | ||
| 3 | The studio's front page (`studioDoor()` in `src/web/studio/home.ts`) shows an admin, under the shelf of public apps, the | |
| 4 | controls that pick what the shelf shows; strangers never see them. The rules live in `src/web/style/content.ts`. | |
| 5 | ||
| 6 | - `.front-admin` — the admin's controls under the front page (`studioDoor()` draws it around `frontControls()`), as wide as the shelf above it and centred with it. | |
| 7 | - `.front-pick` — one row of choices in those controls (drawn by `frontControls()`): the entry's name, then its pin, unpin, hide or show buttons at the end, its inline forms without the end margin `form.inline` would give them. | |
Nit, not blocking: the rule also sets |
docs/design/sections/5d-page-local-classes.md −2
| @@ -51,8 +51,6 @@ the same line (#4888). | ||
| 51 | 51 | - `.commit-body` |
| 52 | 52 | - `.commit-head` |
| 53 | 53 | - `.filters` |
| 54 | - `.front-admin` | |
| 55 | - `.front-pick` | |
| 56 | 54 | - `.owner` |
| 57 | 55 | - `.page-head` |
| 58 | 56 | - `.policy-line` |
new above
offline
The rule is
.front-pick { gap: 8px }plusform.inline { margin-left: 0 }. Mention the 8px gap so the doc is complete.