-
Notifications
You must be signed in to change notification settings - Fork 618
[DASH-601] Fix stretched ENS avatar image + Replace MediaRenderer with Image in WalletAddress component #5772
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5772 +/- ##
=======================================
Coverage 52.99% 52.99%
=======================================
Files 1102 1102
Lines 59107 59107
Branches 4809 4809
=======================================
Hits 31323 31323
Misses 27066 27066
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
…h Image in WalletAddress component (#5772) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the styling of various components by adding the `object-cover` class to ensure images maintain their aspect ratio and cover the designated area appropriately. ### Detailed summary - Updated `className` in `publisher-header.tsx` to include `object-cover`. - Updated `className` in `index.tsx` to include `object-cover`. - Updated `className` in `profile-header.tsx` to include `object-cover`. - Replaced `MediaRenderer` with `Img` in `wallet-address.tsx` for avatar rendering, adding `object-cover` to its `className`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
11294b6 to
ae7d5f2
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the styling of various components in the dashboard application by adding the
object-coverclass to ensure images maintain their aspect ratio while fitting within their containers.Detailed summary
publisher-header.tsx, addedobject-coverto theclassNameof an element.index.tsx, addedobject-coverto theclassNameof an element.profile-header.tsx, addedobject-coverto theclassNameof an element.wallet-address.tsx, replacedMediaRendererwithImgfor better image handling and addedobject-coverto itsclassName.