0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-01 12:54:42 +01:00
gitea/templates
charles e546480d0a
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>
2024-11-15 18:34:54 +00:00
..
admin
api/packages/pypi
base Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
custom
devtest
explore Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
mail
org Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
package Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
projects Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
repo Fix large image overflow in comment page (#31740) 2024-11-15 18:34:54 +00:00
shared Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
status
swagger Refactor render system (#32492) 2024-11-14 05:02:11 +00:00
user Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
webhook
home.tmpl
install.tmpl
post-install.tmpl