-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix the complete display of avatar #31991
Conversation
Can you paste the screenshot before and after? |
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.
Non-quadratic images might now look strange, but I think that's okay.
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.
I think I'm against it. cover
will crop the avatar to the smallest dimension. I see more value in showing the full avatar. For example https://en.wikipedia.org/wiki/Longcat#/media/File:Longcat_is_loooooooooong.jpg:
contain
:
cover
(head cut off):
Ideally we should provide a cropping UI for avatar uploads, until then users need to pre-crop their images:
Of course the cropped like GitHub would be better. |
I'd keep it as-is with |
Fix #31990