aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-05-02 19:19:44 +0800
committerGitHub <noreply@github.com>2024-05-02 11:19:44 +0000
commit6ff2acc52c976e9d7bb6a5693f8a2365d12400f5 (patch)
treee30209fc6b0412d5ccdca5ba0e0b55121d38e4f5 /templates/repo
parentebe6f4cad775a82d11c916c9af716beec394768b (diff)
downloadgitea-6ff2acc52c976e9d7bb6a5693f8a2365d12400f5.tar.gz
gitea-6ff2acc52c976e9d7bb6a5693f8a2365d12400f5.zip
Fix issue card layout (#30800)
Fix #30788
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/issue/card.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/card.tmpl b/templates/repo/issue/card.tmpl
index 4a0ac050aa..526f6dd5db 100644
--- a/templates/repo/issue/card.tmpl
+++ b/templates/repo/issue/card.tmpl
@@ -62,13 +62,13 @@
</div>
{{if or .Labels .Assignees}}
- <div class="tw-flex tw-justify-between">
- <div class="labels-list tw-flex-1">
+ <div class="issue-card-bottom">
+ <div class="labels-list">
{{range .Labels}}
<a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{RenderLabel ctx ctx.Locale .}}</a>
{{end}}
</div>
- <div class="tw-flex tw-flex-wrap tw-content-start tw-gap-1">
+ <div class="issue-card-assignees">
{{range .Assignees}}
<a target="_blank" href="{{.HomeLink}}" data-tooltip-content="{{ctx.Locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{ctx.AvatarUtils.Avatar . 28}}</a>
{{end}}