-
Notifications
You must be signed in to change notification settings - Fork 6
[MRKT-209][refactor](artist): Remove black gap on artist page with no banner. #925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[MRKT-209][refactor](artist): Remove black gap on artist page with no banner. #925
Conversation
|
Visit the studio preview URL for this PR 🚀 : https://925.artist.preview.newm.io/ |
|
Visit the tools preview URL for this PR (updated for commit 5aecd79): |
|
Visit the wallet preview URL for this PR (updated for commit 5aecd79): |
|
Visit the marketplace preview URL for this PR (updated for commit 5aecd79): |
dmkirshon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. Just a single inquiry and should be good to merge after it's resolved!
|
Visit the tools preview URL for this PR (updated for commit 3a9ebfa): |
|
Visit the marketplace preview URL for this PR (updated for commit 3a9ebfa): |
|
Visit the wallet preview URL for this PR (updated for commit 3a9ebfa): |
dmkirshon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, thank you for the small update.
Pull Request — Issue MRKT-209
Overview
Files Summary
Added (0)
Modified (2)
apps/marketplace/src/app/artist/[artistId]/page.tsxconst showBannerArea = isLoading || !!artistBannerUrl.BannerImagewhenshowBannerAreais true to display the skeleton during loading.profileHeaderLayoutfromshowBannerArea(overlay when true, inline otherwise).ContainermarginTopbased onshowBannerAreato remove the black gap.packages/components/src/lib/ProfileHeader.tsxlayout?: "overlay" | "inline"prop (default:"overlay").isOverlayto adjust top margins to match layout.Deleted (0)
Impact
ProfileHeaderdefaults tolayout="overlay".Testing
mdbreakpoint.Related Issues
Dependencies
Demo
MRKT-209-Artist-page-with-no-banner-has-awkward-black-gap.mp4
Additional Notes
layoutprop onProfileHeadersupports future non-overlay contexts.useBetterMediaQueryhook to conditionally apply a different margin-top. TO BE CHECKED