]> source.dussan.org Git - gitea.git/commit
Fix image border-radius (#23886)
authorwxiaoguang <wxiaoguang@gmail.com>
Wed, 5 Apr 2023 00:44:52 +0000 (08:44 +0800)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 00:44:52 +0000 (02:44 +0200)
commit376396a08838031bb351c9ed130baf7264adb72f
tree93c643a80c800dfc2895546a936ae044e9328962
parente485539a90cc23f5d13b1e8e90e192b2d35d03f5
Fix image border-radius (#23886)

1. Instead of polluting the `border-radius` style globally, each "img"
usage should declare their own styles.
2. There were some bugs in code, I believe the `.img` selector was done
by mistake.

After:

![image](https://user-images.githubusercontent.com/2114189/229415742-161b018f-14c3-471d-bcf7-34f83e5c2d89.png)

![image](https://user-images.githubusercontent.com/2114189/229415789-829d364a-76da-47a5-8c61-398cc990873c.png)
web_src/css/base.css