Skip to content

Fix registry dialog header spacing - #49

Merged
s3rot0n1n merged 1 commit into
mainfrom
fix/dialog-header-spacing
Nov 22, 2026
Merged

s3rot0n1n merged 1 commit into
mainfrom
fix/dialog-header-spacing

Conversation

@s3rot0n1n

Copy link
Copy Markdown
Contributor

Problem

The registry DialogHeader (flex flex-col gap-1.5) has no bottom margin, so a dialog's body sits flush under its description (0px). We measured this in CourseLit's "Create API key", "Delete course" and "Add a plan" dialogs while smoke-testing codelitdev/courselit#908. The design spec (.cl-dialog__description { margin: 0 0 20px } in components.css) calls for 20px.

Fix

  • DialogHeader now has mb-5 (20px).
  • In dialogs with only a header and a footer, the header's margin and DialogFooter's mt-5 overlap, so the gap stays at 20px. If a caller sets flex flex-col on DialogContent, the margins add up to 40px.
  • Rebuilt public/r/dialog.json, plus a patch changeset (0.14.1).

bun run verify passes.

🤖 Generated with Claude Code

DialogHeader had no bottom margin, so dialog bodies sat flush under the
description. Add mb-5 (20px) to match the design spec; it collapses with
DialogFooter's mt-5 in header-plus-footer dialogs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T10:53:13.374150Z e40786b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@s3rot0n1n
s3rot0n1n merged commit f24dd97 into main Nov 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant