Skip to content

fix: standardize admin page layout consistency#14

Merged
nathanialhenniges merged 2 commits intomainfrom
claude/gifted-yonath
Apr 15, 2026
Merged

fix: standardize admin page layout consistency#14
nathanialhenniges merged 2 commits intomainfrom
claude/gifted-yonath

Conversation

@nathanialhenniges
Copy link
Copy Markdown
Member

Summary

  • Remove PageHeader default bottom padding (pb-4 md:pb-6) so parent space-y-6 owns all vertical rhythm — eliminates ~40–48px header gap vs 0px on dashboard
  • Standardize root wrappers across all admin pages to identical animate-in fade-in-0 slide-in-from-bottom-2 duration-300 ease-out space-y-6 — fixes entrance animation pop and space-y-4 drift on appearance/connections/forms
  • Remove max-w-2xl inner wrapper from account page — was rendering at ~672px while all other pages render at ~1152px (the single biggest width jump)
  • Standardize right-hand preview sidebar to 360px on dashboard (320px360px) and wallet (auto360px) so left content column is identical width across all pages

Files changed

  • apps/web/src/components/admin/page-header.tsx — remove default pb-*
  • apps/web/src/app/admin/page.tsx — canonical wrapper, remove greeting pb-*, fix grid 320→360px
  • apps/web/src/app/admin/account/page.tsx — remove inner max-w-2xl
  • apps/web/src/app/admin/appearance/page.tsxspace-y-4space-y-6 (loaded + loading skeleton)
  • apps/web/src/app/admin/builder/page.tsx — add missing space-y-6
  • apps/web/src/app/admin/connections/page.tsxspace-y-4space-y-6
  • apps/web/src/app/admin/forms/page.tsxspace-y-4space-y-6
  • apps/web/src/app/admin/social/page.tsx — add missing animate-in classes
  • apps/web/src/app/admin/wallet/page.tsxauto360px preview column

Test plan

  • Navigate through all admin pages — content should not pop horizontally or vertically on navigation
  • Account page renders at full max-w-6xl width, not narrow max-w-2xl
  • Pages with right-hand preview (dashboard, appearance, builder, wallet) all reserve 360px right column
  • PageHeader title appears at same Y position across all pages
  • First card/section under header sits at same Y position across all pages

🤖 Generated with Claude Code

- Remove PageHeader default pb-4/pb-6 padding so parent space-y-6 owns vertical rhythm
- Add canonical animate-in wrapper to dashboard, social pages missing it
- Fix space-y-4 → space-y-6 on appearance, connections, forms pages
- Add space-y-6 to builder page root wrapper
- Remove max-w-2xl inner wrapper from account page (was rendering at ~672px vs 1152px)
- Standardize right-hand preview sidebar to 360px on dashboard and wallet pages
- Fix dashboard grid greeting div pb-2/pb-4 stacking with space-y-6

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 15, 2026

Warning

Rate limit exceeded

@nathanialhenniges has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 56 minutes and 24 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 56 minutes and 24 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d85f0b7a-897d-48d2-8291-bdda2dc1cba5

📥 Commits

Reviewing files that changed from the base of the PR and between 9ea7c65 and a0ddec2.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (9)
  • apps/web/src/app/admin/account/page.tsx
  • apps/web/src/app/admin/appearance/page.tsx
  • apps/web/src/app/admin/builder/page.tsx
  • apps/web/src/app/admin/connections/page.tsx
  • apps/web/src/app/admin/forms/page.tsx
  • apps/web/src/app/admin/page.tsx
  • apps/web/src/app/admin/social/page.tsx
  • apps/web/src/app/admin/wallet/page.tsx
  • apps/web/src/components/admin/page-header.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/gifted-yonath

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 and usage tips.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nathanialhenniges nathanialhenniges merged commit d3b5684 into main Apr 15, 2026
3 checks passed
@nathanialhenniges nathanialhenniges deleted the claude/gifted-yonath branch April 15, 2026 09:59
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