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

Avatars are squared when opening new issue #31502

Closed
stuzer05 opened this issue Jun 26, 2024 · 0 comments · Fixed by #31506
Closed

Avatars are squared when opening new issue #31502

stuzer05 opened this issue Jun 26, 2024 · 0 comments · Fixed by #31506
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Milestone

Comments

@stuzer05
Copy link

Description

image

when editing issue - avatars are ok, but "check" is not centered
image

Gitea Version

1.23.0+dev-278-gb5326a431f

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

PostgreSQL

@kemzeb kemzeb added the topic/ui Change the appearance of the Gitea UI label Jun 26, 2024
@yp05327 yp05327 added this to the 1.23.0 milestone Jun 27, 2024
silverwind pushed a commit that referenced this issue Jun 27, 2024
Close #31502

Related to #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)
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Jun 27, 2024
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)
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants