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>
This commit is contained in:
Kerwin Bryant 2024-11-22 12:33:31 +08:00 committed by GitHub
parent a3881ffa3d
commit 81ac8d914c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@
{{$.CsrfTokenHtml}} {{$.CsrfTokenHtml}}
<button class="fluid ui button {{if not $.NewPinAllowed}}disabled{{end}}"> <button class="fluid ui button {{if not $.NewPinAllowed}}disabled{{end}}">
{{if not .Issue.IsPinned}} {{if not .Issue.IsPinned}}
{{svg "octicon-pin" 16 "tw-mr-2"}} {{svg "octicon-pin"}}
{{ctx.Locale.Tr "pin"}} {{ctx.Locale.Tr "pin"}}
{{else}} {{else}}
{{svg "octicon-pin-slash" 16 "tw-mr-2"}} {{svg "octicon-pin-slash"}}
{{ctx.Locale.Tr "unpin"}} {{ctx.Locale.Tr "unpin"}}
{{end}} {{end}}
</button> </button>