0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-21 19:19:04 +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 Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
custom
devtest Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
explore Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
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 Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
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 Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
install.tmpl Use forum.gitea.com instead of old URL (#31989) 2024-09-06 07:20:30 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00