Skip to content
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 avatar radius problem on the new issue page (#31506) #31508

Merged
merged 1 commit into from
Jun 27, 2024

Commits on Jun 27, 2024

  1. Fix avatar radius problem on the new issue page (go-gitea#31506)

    Close go-gitea#31502
    
    Related to go-gitea#31419.
    
    In this PR, the avatar width is set to 3em, but the height is not set,
    so the image is not squared.
    
    When object-fit is set to contain, it can't maintain the radius of the
    image.
    
    Result:
    
    ![圖片](https://github.com/go-gitea/gitea/assets/30816317/bceb98aa-b0f7-4753-bc8b-3b9c41dfd55a)
    charles7668 authored and GiteaBot committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    710034b View commit details
    Browse the repository at this point in the history