githubnext/chopinPublic

Let's compose rich plans together

Start document content at the top padding and tighten settled lines #395

MergedMaggieAppletonmerged 2 commits intomainfromrefs/pull/395/head
  1. MA

    ## Why Documents started about 130-250px below the Document/Decisions tabs. Each decision card keeps an empty caret paragraph before it (12px margins), a heading that is no longer `:first-child` regains a 1.5em top margin (about 46px), and the column padded 3rem. Settled lines also kept the global `.plan-content p` margin (the `m-0` utility loses to it) on top of the host's 1rem, so they sat about 37px apart.

    ## What changed CSS only, in `packages/editor/src/styles.css`: - Column top padding 3rem to 2rem. - A leading empty caret paragraph takes no room; a heading with only empty paragraphs or resolved (hidden) cards before it loses its top margin, restored once real content precedes it. - Settled lines: 0.5rem apart (paragraph margin removed, host margin 0.5rem); normal spacing around prose and open cards.

    ## Screenshots Before / after, desktop (titled document, decisions only):

    Phone (before | after, titled and decisions only):

    ## Testing - `bun run ci`, `bun run types`, `bun test packages/editor` (536 pass). - Browser E2E left to CI. - Measured: title top 228px to 128px (desktop), settled line pitch 58px to 29px.

    馃 Generated with [Claude Code](https://claude.com/claude-code)

    ![before titled](https://github.com/user-attachments/assets/8e89b60a-ac70-44ab-818c-4327241744ad)

    ![after titled](https://github.com/user-attachments/assets/38eef44a-2fc6-454e-986f-96e8f1b35f96)

    ![before decided](https://github.com/user-attachments/assets/319cdff1-ad02-43e5-b33d-6306840ed90c)

    ![after decided](https://github.com/user-attachments/assets/ec476f7c-127d-4cd6-930c-cdf26da968ba)

    ![phone](https://github.com/user-attachments/assets/009657ba-1845-4f0d-ad57-76da75d732dd)

  2. MaggieAppletonauto-rebase-enabledlast month on GitHub

  3. MaggieAppletonmerged 5682fa4c256elast month on GitHub

  4. MaggieAppletonclosedlast month on GitHub

  5. MaggieAppletonhead-ref-deletedlast month on GitHub

  6. The preview deployment for **chopin** failed. 馃敶

    [Open Build Logs](https://next-appserver.tail49836a.ts.net/project/l9buznc9ua1if0vflxrjwajs/environment/lxqsvczv19eopxk29vfb46mj/application/hb85gdd9mwqqlfwcteflvpbj/deployment/ejb5qguhv1djfmjh6v4aik8o) | [Open Application Logs](https://next-appserver.tail49836a.ts.net/project/l9buznc9ua1if0vflxrjwajs/environment/lxqsvczv19eopxk29vfb46mj/application/hb85gdd9mwqqlfwcteflvpbj/logs)

    Last updated at: 2026-10-08 08:47:46 CET