aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorcharles <30816317+charles7668@users.noreply.github.com>2024-06-27 22:04:05 +0800
committerGitHub <noreply@github.com>2024-06-27 14:04:05 +0000
commitd655ff18b3183807dc568b133035c7c555e3b595 (patch)
treef322466b56dd32c342ec7bb9d74285c26cb5c6bb /web_src/css
parentc1fe6fbcc36bd29549019274d39f273b3e37755d (diff)
downloadgitea-d655ff18b3183807dc568b133035c7c555e3b595.tar.gz
gitea-d655ff18b3183807dc568b133035c7c555e3b595.zip
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)
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/repo.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index 28b84d3af4..f37ea3110a 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -535,7 +535,7 @@ td .commit-summary {
min-width: 100px;
}
-#new-issue .avatar {
+#new-issue .comment .avatar {
width: 3em;
}