fix(web): resolve return home button overlapping on profile not found…#312
Open
Rucha0901 wants to merge 1 commit into
Open
fix(web): resolve return home button overlapping on profile not found…#312Rucha0901 wants to merge 1 commit into
Rucha0901 wants to merge 1 commit into
Conversation
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
This PR addresses and resolves the spacing and layout issue on the Profile Not Found error page, where the "Return Home" button was overlapping or appearing too compressed relative to the paragraph text above it. By introducing a structured Flexbox layout, responsive typography, and optimal margins to the
.error-glasscontainer and its descendants, the error page is now visually polished, balanced, and responsive across all screen sizes.Closes #242
Type of Change
What Changed
apps/web/src/routes/u/[username]/+page.svelte:.error-glassclass (flex-direction: column,align-items: center,justify-content: center) for proper vertical alignment of all elements.clamp()(clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem)) for beautiful spacing on desktop and mobile..error-emojiwith responsive size (clamp(3rem, 7vw, 4.5rem)) and added a premium float micro-animation..error-glass h1) and descriptions (.error-glass p) with proper line heights, colors, and margins.1.75remmargin below the paragraph to ensure the "Return Home" button (.btn-primary) never overlaps with the text and has robust visual distinction.How to Test
To verify the visual changes: