diff options
author | charles <30816317+charles7668@users.noreply.github.com> | 2024-06-27 22:04:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 14:04:05 +0000 |
commit | d655ff18b3183807dc568b133035c7c555e3b595 (patch) | |
tree | f322466b56dd32c342ec7bb9d74285c26cb5c6bb /web_src/js/features | |
parent | c1fe6fbcc36bd29549019274d39f273b3e37755d (diff) | |
download | gitea-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/js/features')
0 files changed, 0 insertions, 0 deletions