diff options
author | crystal <71373843+CrystalCommunication@users.noreply.github.com> | 2023-01-12 18:10:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 19:10:12 -0600 |
commit | f1c13b4aceee82ea7da6a4ea4a512f0adc76906c (patch) | |
tree | 89be2236bc642cf5321f4f3b7dd6d523e2c581d2 | |
parent | 1ee1147baa9af5365b4359848eccd4962e541377 (diff) | |
download | gitea-f1c13b4aceee82ea7da6a4ea4a512f0adc76906c.tar.gz gitea-f1c13b4aceee82ea7da6a4ea4a512f0adc76906c.zip |
improve explore relevancy note (#22421)
makes the explore relevancy note much prettier on most themes
-rw-r--r-- | templates/explore/repo_search.tmpl | 2 | ||||
-rw-r--r-- | web_src/less/_explore.less | 6 |
2 files changed, 1 insertions, 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 @@ </div> </form> {{if .OnlyShowRelevant}} - <div class="ui blue attached message explore-relevancy-note"> + <div class="ui message explore-relevancy-note"> <span class="ui tooltip" data-content="{{.locale.Tr "explore.relevant_repositories_tooltip"}}">{{.locale.Tr "explore.relevant_repositories" ((printf "%s%s" $.Link "?no_filter=1")|Escape) | Safe}}</span> </div> {{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%; -} |