Skip to content

Commit d655ff1

Browse files
authored
Fix avatar radius problem on the new issue page (#31506)
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)
1 parent c1fe6fb commit d655ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: web_src/css/repo.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ td .commit-summary {
535535
min-width: 100px;
536536
}
537537

538-
#new-issue .avatar {
538+
#new-issue .comment .avatar {
539539
width: 3em;
540540
}
541541

0 commit comments

Comments
 (0)