Refactor EmailVerificationBanner to full-width strip layout - #241
Merged
Merged
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
rounded-md border border-amber-300toshrink-0 border-b border-amber-300to create a full-width strip with bottom border instead of a contained cardclassName="mb-4"from the banner in the authenticated layout, as the new full-width design doesn't require bottom margin spacingImplementation Details
The banner now uses
shrink-0to prevent flex shrinking andborder-bfor 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