From 67db6b697636221e09536e89ac8600a47f79b5cb Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 11 May 2023 00:27:02 +0200 Subject: RSS icon fixes (#24476) Fix regression from https://github.com/go-gitea/gitea/pull/24471 where CSS rules for `.icon.grey` were removed which were in use by the RSS icons. Gave them their own class instead, removed a wrapper and also fixed vertical alignment on them. Additionally, did a few related fixes on the org header for alignment. Fixes: https://github.com/go-gitea/gitea/issues/24584 Screenshot 2023-05-01 at 22 39 40 Screenshot 2023-05-01 at 22 44 20 Screenshot 2023-05-01 at 22 56 36 Screenshot 2023-05-01 at 22 54 25 Screenshot 2023-05-01 at 22 55 28 --------- Co-authored-by: wxiaoguang --- templates/repo/header.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/repo/header.tmpl') diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index b36d1d8f6a..b2fd0710af 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -13,9 +13,6 @@ {{.Owner.Name}}
/
{{.Name}} - {{if $.EnableFeed}} - {{svg "octicon-rss" 18}} - {{end}}
{{if .IsTemplate}} {{if .IsPrivate}} @@ -38,6 +35,9 @@ {{$.locale.Tr "repo.desc.archived"}} {{end}}
+ {{if $.EnableFeed}} + {{svg "octicon-rss" 18}} + {{end}} {{if $.IsPullMirror}} {{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}} -- cgit v1.2.3