fix: render whole sections for factory-compiled sites (0.4.4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
21d48fd1f4
commit
305f40bcc3
18
docs/adr/0003-alphabet-strip-keeps-to-the-viewport.md
Normal file
18
docs/adr/0003-alphabet-strip-keeps-to-the-viewport.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# The alphabet strip keeps to the viewport on kindergarten
|
||||||
|
|
||||||
|
Decided 2026-11-20 for kindergarten 0.4.4, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
- The alphabet strip keeps to the viewport (`max-width: min(72rem, 100%)`, `min-width: 0`) and scrolls its letters inside itself. At 390 pixels its eight letters made the strip, and so the page, about 540 pixels wide.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- kindergarten 0.4.4 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||||
|
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
||||||
|
|
||||||
|
Keywords: kindergarten, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||||
@ -393,7 +393,9 @@ css:
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
gap: 0.6rem;
|
gap: 0.6rem;
|
||||||
max-width: 72rem;
|
max-width: min(72rem, 100%);
|
||||||
|
min-width: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
padding: 0.6rem 1.5rem;
|
padding: 0.6rem 1.5rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "kindergarten"
|
name = "kindergarten"
|
||||||
display_name = "Kindergarten"
|
display_name = "Kindergarten"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
description = "Primary-colored, hand-lettered theme for preschools and daycares — crayon borders, sticker badges, confetti, and a bouncing mascot showpiece."
|
description = "Primary-colored, hand-lettered theme for preschools and daycares — crayon borders, sticker badges, confetti, and a bouncing mascot showpiece."
|
||||||
kind = "theme"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user