Skip to content

Commit 8406d10

Browse files
committed
correct flex
1 parent 07fee46 commit 8406d10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/repo/actions/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="ui fluid vertical menu">
1111
<a class="item{{if not $.CurWorkflow}} active{{end}}" href="?actor={{$.CurActor}}&status={{$.CurStatus}}">{{ctx.Locale.Tr "actions.runs.all_workflows"}}</a>
1212
{{range .workflows}}
13-
<a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="?workflow={{.Entry.Name}}&actor={{$.CurActor}}&status={{$.CurStatus}}">{{.Entry.Name}}
13+
<a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}} flex-text-block" href="?workflow={{.Entry.Name}}&actor={{$.CurActor}}&status={{$.CurStatus}}">{{.Entry.Name}}
1414
{{if .ErrMsg}}
1515
<span class="flex-text-inline" data-tooltip-content="{{.ErrMsg}}">
1616
{{svg "octicon-alert" 16 "text red"}}

templates/repo/actions/runs_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a class="flex-item-title" title="{{$run.Title}}" href="{{$run.Link}}">
1515
{{or $run.Title (ctx.Locale.Tr "actions.runs.empty_commit_message")}}
1616
</a>
17-
<div class="flex-item-body">
17+
<div class="flex-item-body flex-text-block">
1818
<span><b>{{if not $.CurWorkflow}}{{$run.WorkflowID}} {{end}}#{{$run.Index}}</b>:</span>
1919
{{- if $run.ScheduleID -}}
2020
{{ctx.Locale.Tr "actions.runs.scheduled"}}
@@ -26,7 +26,7 @@
2626
{{- end -}}
2727
{{$errMsg := index $.RunErrors $run.ID}}
2828
{{if $errMsg}}
29-
<span class="flex-text-block" data-tooltip-content="{{$errMsg}}">
29+
<span class="flex-text-inline" data-tooltip-content="{{$errMsg}}">
3030
{{svg "octicon-alert" 16 "text red"}}
3131
</span>
3232
{{end}}

0 commit comments

Comments
 (0)