forked from forgejo/forgejo
Backport #27319 by @wxiaoguang 1. Put the `"octicon-shield-lock"` into the flex container, then it doesn't need a separate flex box 2. Remove some unnecessary `gt-df` helpers 3. Make `btn` button has the same flex behavior as `ui button`   Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
9b698362a3
commit
b00489886d
4 changed files with 11 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
|||
<!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
|
||||
<span class="gt-df">
|
||||
{{if eq .State "pending"}}
|
||||
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
||||
{{end}}
|
||||
|
@ -12,4 +11,3 @@
|
|||
{{if eq .State "failure"}}
|
||||
{{svg "octicon-x" 18 "commit-status icon text red"}}
|
||||
{{end}}
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue