mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-30 08:33:50 +08:00
e546480d0a
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>
4 lines
159 B
Handlebars
4 lines
159 B
Handlebars
<div class="field {{if not .item.VisibleOnForm}}tw-hidden{{end}}">
|
|
<div class="markup">{{ctx.RenderUtils.MarkdownToHtml .item.Attributes.value}}</div>
|
|
</div>
|