Skip to content

New split page: close the desktop frame at the top and bottom - #32

Merged
chip-peanut-bot[bot] merged 1 commit into
mainfrom
fix/new-page-vertical-padding
Sep 30, 2026
Merged

chip-peanut-bot[bot] merged 1 commit into
mainfrom
fix/new-page-vertical-padding

Conversation

@chip-peanut-bot

Copy link
Copy Markdown
Contributor

On desktop, /new ran flush to the viewport's top and bottom edges. The frame's outline disappeared at those edges, and the 8px offset shadow started 8px down, leaving a notch at the top-right. Hugo spotted this when clicking through from the landing page.

Change

  • Opt-in data-frame="card" on the /new <main>.
  • In desktop-frame.css (inside the existing min-width: 768px block), that frame gets margin-block: 2rem. The frame and its form get min-height: calc(100dvh - 4rem), so a tall viewport still has no scrollbar.
  • The room screen is untouched. Its fixed bottom bar is aligned to the viewport, so it keeps the full-height column.

Verified by injecting the exact CSS into live /new with headless Chrome:

  • 1440×900: the frame now spans y 32 to 868, all four edges are visible, and there is no page scroll (docH 900 = viewport).
  • 1280×600: the content is taller than the viewport and scrolls as before.
  • 390×844 (mobile): unchanged, since the rule doesn't apply below 768px.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BbTFsJ6NvdFt4NG4UJG57m

On desktop the /new column ran flush to the viewport's top and bottom edges,
so the outline vanished there and the 8px offset shadow started 8px down,
leaving a notch at the top-right. The create form has no fixed controls, so
it can sit as a card with a 2rem gap above and below; the frame and its form
shrink by the same amount so a tall viewport still does not scroll.

Opt-in via data-frame="card" so the room screen, whose fixed bottom bar is
aligned to the viewport, keeps its full-height column. Mobile is untouched
(the rule lives inside the existing min-width: 768px block).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BbTFsJ6NvdFt4NG4UJG57m
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 2fdd476e-d771-4456-8fcb-8c3802e887dc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chip-peanut-bot
chip-peanut-bot Bot merged commit d5c9678 into main Sep 30, 2026
8 checks passed
@chip-peanut-bot
chip-peanut-bot Bot deleted the fix/new-page-vertical-padding branch September 30, 2026 13:07
@Hugo0

Hugo0 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

/chip review

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