From 06557a75db50b9faf8e253b2a284e79bd20b5fb3 Mon Sep 17 00:00:00 2001 From: HesterG Date: Mon, 12 Jun 2023 17:36:08 +0800 Subject: [PATCH] Adjust style for action run list (align icons, adjust padding) (#25170) Main changes: - Moved the icon into `action-item-main`, and make it `position: absolute` to allow add margin it to align with `issue-item-top-row`. - Adjusted padding and color of texts. # Before Screen Shot 2023-06-09 at 17 04 38 # After Screen Shot 2023-06-09 at 18 32 47 On hover: Screen Shot 2023-06-09 at 18 32 54 --- templates/repo/actions/runs_list.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl index fdef2e6446..5f444f31f9 100644 --- a/templates/repo/actions/runs_list.tmpl +++ b/templates/repo/actions/runs_list.tmpl @@ -1,16 +1,16 @@
{{range .Runs}} -
  • -
    +
  • +
    {{template "repo/actions/status" (dict "status" .Status.String "locale" $.locale)}}
    -
    - + -
    +
    {{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}: {{$.locale.Tr "actions.runs.commit"}} {{ShortSha .CommitSHA}}{{$.locale.Tr "actions.runs.pushed_by"}} {{.TriggerUser.GetDisplayName}}