diff --git a/CLAUDE.md b/CLAUDE.md index 5c830d6..d711adf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -165,6 +165,40 @@ If you need a one-off horizontal alignment of two short inline things (e.g. a label + a value), grid still works fine (`grid-template-columns: auto 1fr`). Don't reach for flex. +### Web style guide — form-row patterns + +`.row` is the single primitive for every horizontal form strip in every +zebra page. Don't invent new wrappers. CSS auto-detects the row shape via +`:has()` and picks the right grid template. + +Supported row shapes (DOM order matters): + +| Shape | Template applied | Use when | +|---|---|---| +| `