aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorKerwin Bryant <kerwin612@qq.com>2024-11-22 12:33:31 +0800
committerGitHub <noreply@github.com>2024-11-22 04:33:31 +0000
commit81ac8d914cf5fdfaad3c206223ad0ace1e8c1dcd (patch)
tree39e4fd08e362bf5d8162700b0a80df584bef4e65 /templates/repo
parenta3881ffa3d90f3f017024f701ca8ef420d492224 (diff)
downloadgitea-81ac8d914cf5fdfaad3c206223ad0ace1e8c1dcd.tar.gz
gitea-81ac8d914cf5fdfaad3c206223ad0ace1e8c1dcd.zip
Style unification for the issue_management area (#32605)
Style unification for the issue_management area (consistent across the layout before: ![1732237277916](https://github.com/user-attachments/assets/52a20b2d-d6a4-4118-9cdf-9b377115b7f7) ![1732237288802](https://github.com/user-attachments/assets/05592fe8-cab2-412b-99bc-f0a201c08413) ![1732237299849](https://github.com/user-attachments/assets/8be4a891-c514-4983-bad4-fcc5a7a9d838) after: ![1732237471086](https://github.com/user-attachments/assets/0bd19ef6-79c1-490a-8ffa-6a42208befd9) --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/issue/sidebar/issue_management.tmpl4
-rw-r--r--templates/repo/issue/sidebar/milestone_list.tmpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/sidebar/issue_management.tmpl b/templates/repo/issue/sidebar/issue_management.tmpl
index 3342d99212..76edf16e03 100644
--- a/templates/repo/issue/sidebar/issue_management.tmpl
+++ b/templates/repo/issue/sidebar/issue_management.tmpl
@@ -6,10 +6,10 @@
{{$.CsrfTokenHtml}}
<button class="fluid ui button {{if not $.NewPinAllowed}}disabled{{end}}">
{{if not .Issue.IsPinned}}
- {{svg "octicon-pin" 16 "tw-mr-2"}}
+ {{svg "octicon-pin"}}
{{ctx.Locale.Tr "pin"}}
{{else}}
- {{svg "octicon-pin-slash" 16 "tw-mr-2"}}
+ {{svg "octicon-pin-slash"}}
{{ctx.Locale.Tr "unpin"}}
{{end}}
</button>
diff --git a/templates/repo/issue/sidebar/milestone_list.tmpl b/templates/repo/issue/sidebar/milestone_list.tmpl
index 4a7f3f8ad8..2a7b6f6009 100644
--- a/templates/repo/issue/sidebar/milestone_list.tmpl
+++ b/templates/repo/issue/sidebar/milestone_list.tmpl
@@ -39,7 +39,7 @@
{{end}}
{{end}}
</div>
- {{end}}
+ {{end}}
</div>
</div>