diff --git a/templates/explore/user_list.tmpl b/templates/explore/user_list.tmpl index cf6a2933b0fe0..9abbff6d9c8f3 100644 --- a/templates/explore/user_list.tmpl +++ b/templates/explore/user_list.tmpl @@ -1,6 +1,6 @@
{{range .Users}} -
+
{{ctx.AvatarUtils.Avatar . 48}}
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl index a15254d0418d5..65ef7b66e7d97 100644 --- a/templates/org/member/members.tmpl +++ b/templates/org/member/members.tmpl @@ -7,7 +7,7 @@
{{range .Members}} {{$isPublic := index $.MembersIsPublicMember .ID}} -
+
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl index 13c60d39450d4..cac0c1ce94744 100644 --- a/templates/org/team/members.tmpl +++ b/templates/org/team/members.tmpl @@ -24,7 +24,7 @@
{{range .Team.Members}} -
+
@@ -56,7 +56,7 @@
{{range .Invites}} -
+
{{.Email}}
diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl index 71c9bb956345b..44fb1ee083279 100644 --- a/templates/org/team/repositories.tmpl +++ b/templates/org/team/repositories.tmpl @@ -28,7 +28,7 @@
{{range .Team.Repos}} -
+
{{template "repo/icon" .}}
diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl index d8e27fab52ab7..37a584079fb80 100644 --- a/templates/repo/actions/runs_list.tmpl +++ b/templates/repo/actions/runs_list.tmpl @@ -6,7 +6,7 @@
{{end}} {{range .Runs}} -
+
{{template "repo/actions/status" (dict "status" .Status.String "locale" $.locale)}}
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index fcc3615ced563..ef227ff4aa050 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -41,7 +41,7 @@
{{range .ProtectedBranches}} -
+
{{.RuleName}}
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index 900d044171e49..4c6721eb24172 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -7,7 +7,7 @@
{{range .Collaborators}} -
+
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 5def862f2dec7..16944506f18b5 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -774,7 +774,7 @@
{{if not .Repository.IsMirror}} -
+
{{if .Repository.IsArchived}}
{{.locale.Tr "repo.settings.unarchive.header"}}
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index 2cd0fb92ac5f7..8e91a58d5162c 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -1,10 +1,12 @@
{{$approvalCounts := .ApprovalCounts}} {{range .Issues}} -
-
+
+
{{if $.CanWriteIssuesOrPulls}} +
+
{{end}}
{{template "shared/issueicon" .}} @@ -44,7 +46,7 @@ {{end}} {{if .NumComments}} diff --git a/templates/shared/secrets/add_list.tmpl b/templates/shared/secrets/add_list.tmpl index 6215eff369e56..5a464295f67fe 100644 --- a/templates/shared/secrets/add_list.tmpl +++ b/templates/shared/secrets/add_list.tmpl @@ -14,7 +14,7 @@ {{if .Secrets}}
{{range .Secrets}} -
+
{{svg "octicon-key" 32}}
diff --git a/templates/shared/variables/variable_list.tmpl b/templates/shared/variables/variable_list.tmpl index e62025caafffb..a9456321e4454 100644 --- a/templates/shared/variables/variable_list.tmpl +++ b/templates/shared/variables/variable_list.tmpl @@ -16,7 +16,7 @@ {{if .Variables}}
{{range .Variables}} -
+
{{svg "octicon-pencil" 32}}
diff --git a/templates/user/settings/applications_oauth2_list.tmpl b/templates/user/settings/applications_oauth2_list.tmpl index 1a536e50ac0a7..348bc82b4e8b9 100644 --- a/templates/user/settings/applications_oauth2_list.tmpl +++ b/templates/user/settings/applications_oauth2_list.tmpl @@ -4,7 +4,7 @@ {{.locale.Tr "settings.oauth2_application_create_description"}}
{{range .Applications}} -
+
{{svg "octicon-apps" 32}}
diff --git a/templates/user/settings/security/openid.tmpl b/templates/user/settings/security/openid.tmpl index 86cb161bcefe3..9563910ba9422 100644 --- a/templates/user/settings/security/openid.tmpl +++ b/templates/user/settings/security/openid.tmpl @@ -7,7 +7,7 @@ {{.locale.Tr "settings.openid_desc"}}
{{range .OpenIDs}} -
+
{{svg "fontawesome-openid" 20}}
diff --git a/web_src/css/shared/flex-list.css b/web_src/css/shared/flex-list.css index b9c22c4a0bd5d..b5ae5cbd49277 100644 --- a/web_src/css/shared/flex-list.css +++ b/web_src/css/shared/flex-list.css @@ -9,14 +9,6 @@ padding: 1em 0; } -.flex-item-baseline { - align-items: baseline; -} - -.flex-item-center { - align-items: center; -} - .flex-item .flex-item-leading { display: flex; align-items: flex-start; @@ -41,8 +33,10 @@ color: var(--color-primary) !important; } -.flex-item .flex-item-icon svg { - margin-top: 1px; +.flex-item .flex-item-icon { + display: flex; + align-items: center; + height: 20px; /* match the default flex-item-title height */ } .flex-item .flex-item-trailing { @@ -65,6 +59,7 @@ font-weight: var(--font-weight-semibold); word-break: break-word; min-width: 0; + min-height: 20px; } .flex-item .flex-item-title a {