From 10bff2493459e254da799de3c8016f6de3604aeb Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Thu, 7 Jul 2022 18:02:14 +0800 Subject: [PATCH 1/3] fix: icon margin in user/settings/repos --- templates/user/settings/repos.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index eba0d22d5eea8..0c8328764bbe8 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -109,15 +109,15 @@
{{if .IsPrivate}} - {{svg "octicon-lock"}} + {{svg "octicon-lock"}} {{else if .IsFork}} - {{svg "octicon-repo-forked"}} + {{svg "octicon-repo-forked"}} {{else if .IsMirror}} - {{svg "octicon-mirror"}} + {{svg "octicon-mirror"}} {{else if .IsTemplate}} - {{svg "octicon-repo-template"}} + {{svg "octicon-repo-template"}} {{else}} - {{svg "octicon-repo"}} + {{svg "octicon-repo"}} {{end}} {{.OwnerName}}/{{.Name}} {{FileSize .Size}} From f9a1c0fd82629df78be2582ba0e9e0ed0a458b6d Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Fri, 8 Jul 2022 07:11:20 +0800 Subject: [PATCH 2/3] Apply suggestion from review --- templates/user/settings/repos.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index 0c8328764bbe8..e48009b1730ba 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -109,15 +109,15 @@
{{if .IsPrivate}} - {{svg "octicon-lock"}} + {{svg "octicon-lock" 16 "mr-2 iconFloat"}} {{else if .IsFork}} - {{svg "octicon-repo-forked"}} + {{svg "octicon-repo-forked" 16 "mr-2 iconFloat"}} {{else if .IsMirror}} - {{svg "octicon-mirror"}} + {{svg "octicon-mirror" 16 "mr-2 iconFloat"}} {{else if .IsTemplate}} - {{svg "octicon-repo-template"}} + {{svg "octicon-repo-template" 16 "mr-2 iconFloat"}} {{else}} - {{svg "octicon-repo"}} + {{svg "octicon-repo" 16 "mr-2 iconFloat"}} {{end}} {{.OwnerName}}/{{.Name}} {{FileSize .Size}} From 54bd60147af6034494cf1d7c018bfa9240719b73 Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 11 Jul 2022 21:53:24 +0100 Subject: [PATCH 3/3] Update templates/user/settings/repos.tmpl Co-authored-by: silverwind --- templates/user/settings/repos.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index e48009b1730ba..aedff91de9014 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -109,7 +109,7 @@
{{if .IsPrivate}} - {{svg "octicon-lock" 16 "mr-2 iconFloat"}} + {{svg "octicon-lock" 16 "mr-2 iconFloat text gold"}} {{else if .IsFork}} {{svg "octicon-repo-forked" 16 "mr-2 iconFloat"}} {{else if .IsMirror}}