From f1c13b4aceee82ea7da6a4ea4a512f0adc76906c Mon Sep 17 00:00:00 2001 From: crystal <71373843+CrystalCommunication@users.noreply.github.com> Date: Thu, 12 Jan 2023 18:10:12 -0700 Subject: [PATCH] improve explore relevancy note (#22421) makes the explore relevancy note much prettier on most themes --- templates/explore/repo_search.tmpl | 2 +- web_src/less/_explore.less | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index cbce97268d..57acd861e9 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -30,7 +30,7 @@ {{if .OnlyShowRelevant}} -
+
{{.locale.Tr "explore.relevant_repositories" ((printf "%s%s" $.Link "?no_filter=1")|Escape) | Safe}}
{{end}} diff --git a/web_src/less/_explore.less b/web_src/less/_explore.less index b07b33461e..5a41f8dc55 100644 --- a/web_src/less/_explore.less +++ b/web_src/less/_explore.less @@ -89,9 +89,3 @@ } } } - -.ui.explore-relevancy-note { - border-top: 0; - margin-top: 0; - max-width: 90%; -}