diff options
author | charles <30816317+charles7668@users.noreply.github.com> | 2024-11-16 02:34:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 18:34:54 +0000 |
commit | e546480d0a2bbd9fcf897d7506a1efe3fa44cef3 (patch) | |
tree | f88d5cd53ff4d66f46522a5152cd57fac0f21dfb /modules/nosql | |
parent | ecbb03dc6d0e0565663dff977a4fc3d40a1e0c1e (diff) | |
download | gitea-e546480d0a2bbd9fcf897d7506a1efe3fa44cef3.tar.gz gitea-e546480d0a2bbd9fcf897d7506a1efe3fa44cef3.zip |
Fix large image overflow in comment page (#31740)
Close #31709
52px is calculate by avatar size in
templates\repo\issue\view_content\comments.tmpl
```html
<img src="{{.Poster.AvatarLink $.Context}}" width="40" height="40">
```
+
```css
.ui.comments .comment > .avatar ~ .content {
margin-left: 12px;
}
```
![圖片](https://github.com/user-attachments/assets/bf15f4d4-1574-46f6-9f5e-1fbdbf1a98b0)
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/nosql')
0 files changed, 0 insertions, 0 deletions