0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-21 01:35:14 +01:00
gitea/templates/repo/issue/fields
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
..
checkboxes.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
dropdown.tmpl Support setting the default attribute of the issue template dropdown field (#31045) 2024-05-23 13:01:02 +00:00
header.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
input.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
markdown.tmpl Fix large image overflow in comment page (#31740) 2024-11-15 18:34:54 +00:00
textarea.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00