gitea/templates/repo/issue
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
..
fields Fix large image overflow in comment page (#31740) 2024-11-15 18:34:54 +00:00
labels Refactor sidebar label selector (#32460) 2024-11-10 08:26:42 +00:00
milestone Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
sidebar Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
view_content Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
branch_selector_field.tmpl Fix issue sidebar (#32455) 2024-11-09 01:55:32 +08:00
card.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
choose.tmpl Fix spacing in issue navbar (#30238) 2024-04-02 11:48:07 +00:00
comment_tab.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
filter_actions.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
filter_list.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
filters.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
label_precolors.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
labels.tmpl Fix spacing in issue navbar (#30238) 2024-04-02 11:48:07 +00:00
list.tmpl Replace `gt-word-break` with `tw-break-anywhere` (#31183) 2024-06-04 13:57:11 +00:00
milestone_issues.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
milestone_new.tmpl Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
milestones.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
navbar.tmpl Fix menu buttons in issues and release (#30056) 2024-03-25 13:52:54 +00:00
new.tmpl Fix incorrect redirection when creating a PR fails (#29537) 2024-03-02 12:45:14 +00:00
new_form.tmpl Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
openclose.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
search.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 2024-03-24 18:23:38 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
view_content.tmpl Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
view_title.tmpl Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00