aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2023-02-20 07:07:46 +0800
committerGitHub <noreply@github.com>2023-02-20 07:07:46 +0800
commit65fc2d1b83182134610558cbea980e18ec815a93 (patch)
tree73e543343273ed297d9ab37702c2ae177b215ae0 /templates
parentc53ad052d8bd040ecd269d9757ce9885396a04af (diff)
downloadgitea-65fc2d1b83182134610558cbea980e18ec815a93.tar.gz
gitea-65fc2d1b83182134610558cbea980e18ec815a93.zip
Fix avatar misalignment (#22955)
Fix #22818. | Before | After | | ---- | ---- | | <img src="https://user-images.githubusercontent.com/15528715/219617504-d86e7a90-d4ac-4a92-bd8a-100dddc693d5.png" width="200px" /> | <img src="https://user-images.githubusercontent.com/15528715/219618645-a4045f65-bda6-49ce-a676-f03a9817bb70.png" width="200px" />| | <img src="https://user-images.githubusercontent.com/15528715/219618013-844ef208-853b-44bd-a67c-36e360f0ffa7.png" width="200px" /> | <img src="https://user-images.githubusercontent.com/15528715/219618361-cb13c369-852e-47bf-ae30-e429d348823d.png" width="200px" /> | --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content/pull.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl
index 862d5d9a1b..cbcc163df1 100644
--- a/templates/repo/issue/view_content/pull.tmpl
+++ b/templates/repo/issue/view_content/pull.tmpl
@@ -13,7 +13,7 @@
{{avatar $.Context .User}}
</a>
{{end}}
- <span>
+ <span class="gt-ml-2">
{{if .User}}
<a href="{{.User.HomeLink}}">{{.User.GetDisplayName}}</a>
{{else if .Team}}