-
-
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
Unable to display complete avatar #31990
Comments
As per #31991 (review), I think Proper solution will be to present the user a UI to crop the avatar image themselves before upload. We should ensure that this future image cropping functionality can handle all supported formats like webp, so ideally a webp should upload as webp after cropping, but conversion to png may be acceptable as well. |
I prefer all avatars have same size, not based on the size of uploaded images. |
Yes I completely agree. |
Description
Unable to display complete avatar, the avatar class of object-fit is
contain
.GitHub can display the complete avatar because when GitHub changes the avatar, it must be cropped.
Maybe set the avatar class of
object-fit : cover
for the better.Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None
The text was updated successfully, but these errors were encountered: