Skip to content

Refactor EmailVerificationBanner to full-width strip layout - #241

Merged
jalexw merged 1 commit into
mainfrom
claude/laughing-hypatia-iws9c6
Sep 27, 2026
Merged

jalexw merged 1 commit into
mainfrom
claude/laughing-hypatia-iws9c6

Conversation

@jalexw

@jalexw jalexw commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Refactored the EmailVerificationBanner component to render as a full-width strip with a bottom border instead of a rounded card with margins. This allows the dashboard's themed background to extend directly beneath the banner without gaps.

Changes

  • Component styling: Changed from rounded-md border border-amber-300 to shrink-0 border-b border-amber-300 to create a full-width strip with bottom border instead of a contained card
  • Layout integration: Removed className="mb-4" from the banner in the authenticated layout, as the new full-width design doesn't require bottom margin spacing
  • Documentation: Updated the component's JSDoc to clarify that it renders as a full-width strip positioned above the PageContainer
  • Version bump: Updated package version from 0.47.1 to 0.47.2

Implementation Details

The banner now uses shrink-0 to prevent flex shrinking and border-b for a bottom border only, creating a cleaner full-width separator effect. The dashboard layout no longer needs to manage spacing around the banner since it now extends edge-to-edge.

https://claude.ai/code/session_01CZhpWjqVhKhYPwAthEHRqx

… verification banner

The unverified-email banner was a rounded card with a bottom margin, so a
strip of the dashboard's white background showed between it and the page's
themed gradient. Render it as a full-width strip (bottom border only, no
margin) so the gradient starts directly beneath it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CZhpWjqVhKhYPwAthEHRqx
@jalexw jalexw self-assigned this Sep 27, 2026
@jalexw
jalexw merged commit f44ac52 into main Sep 27, 2026
55 checks passed
@jalexw
jalexw deleted the claude/laughing-hypatia-iws9c6 branch September 27, 2026 21:16
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.

2 participants