Skip to content

Commit a192a5e

Browse files
authored
Fix action runner offline label padding (go-gitea#29691)
Before: The `offline` padding is `calc(.833em - 1px)` from `basic` CSS class, but `idle` padding is `6px`. <img width="1035" alt="image" src="https://github.com/go-gitea/gitea/assets/37034805/ccb42615-20d7-4032-a805-40cd9643012d"> After: <img width="1035" alt="image" src="https://github.com/go-gitea/gitea/assets/37034805/d6af99c8-76cb-4850-96d6-5289b06e1ca8">
1 parent 6ea1c67 commit a192a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/actions/runner_list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
{{range .Runners}}
6969
<tr>
7070
<td>
71-
<span class="ui {{if .IsOnline}}green{{else}}basic{{end}} label">{{.StatusLocaleName ctx.Locale}}</span>
71+
<span class="ui {{if .IsOnline}}green{{end}} label">{{.StatusLocaleName ctx.Locale}}</span>
7272
</td>
7373
<td>{{.ID}}</td>
7474
<td><p data-tooltip-content="{{.Description}}">{{.Name}}</p></td>

0 commit comments

Comments
 (0)