loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

<img width="721" alt="Screen Shot 2023-06-09 at 17 04 38"
src="https://github.com/go-gitea/gitea/assets/17645053/3fc00e94-bcd4-4e06-b1d8-93be0576dbc3">


# After

<img width="1421" alt="Screen Shot 2023-06-09 at 18 32 47"
src="https://github.com/go-gitea/gitea/assets/17645053/c2a0f9df-cac4-4197-9cbd-6c16dfef215b">

On hover:

<img width="1431" alt="Screen Shot 2023-06-09 at 18 32 54"
src="https://github.com/go-gitea/gitea/assets/17645053/d0ab6fde-9722-4d76-831b-163fd6a1f560">

authored by

HesterG and committed by
GitHub
06557a75 34498e62

+5 -5
+5 -5
templates/repo/actions/runs_list.tmpl
··· 1 1 <div class="issue list gt-m-0"> 2 2 {{range .Runs}} 3 - <li class="item gt-df gt-py-3 gt-ab"> 4 - <div class="issue-item-left gt-df gt-mr-2"> 3 + <li class="item gt-df gt-py-4"> 4 + <div class="issue-item-left issue-item-icon gt-df gt-items-start"> 5 5 {{template "repo/actions/status" (dict "status" .Status.String "locale" $.locale)}} 6 6 </div> 7 7 <div class="issue-item-main action-item-main gt-f1 gt-fc gt-df gt-mr-3"> 8 - <div class="issue-item-top-row"> 9 - <a class="index gt-ml-0 gt-mr-2" title="{{.Title}}" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}"> 8 + <div class="issue-item-top-row gt-mb-2"> 9 + <a class="index gt-no-underline title action-item-title" title="{{.Title}}" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}"> 10 10 {{- .Title -}} 11 11 </a> 12 12 </div> 13 - <div class="desc issue-item-bottom-row gt-df gt-ac gt-fw gt-my-1"> 13 + <div class="desc issue-item-bottom-row gt-df gt-ac gt-fw"> 14 14 <b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: {{$.locale.Tr "actions.runs.commit"}} 15 15 <a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{ShortSha .CommitSHA}}</a>{{$.locale.Tr "actions.runs.pushed_by"}} {{.TriggerUser.GetDisplayName}} 16 16 <span class="ui label">