0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-21 06:34:26 +01:00

improve explore relevancy note (#22421)

makes the explore relevancy note much prettier on most themes
This commit is contained in:
crystal 2023-01-12 18:10:12 -07:00 committed by GitHub
parent 1ee1147baa
commit f1c13b4ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -30,7 +30,7 @@
</div> </div>
</form> </form>
{{if .OnlyShowRelevant}} {{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> <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> </div>
{{end}} {{end}}

View file

@ -89,9 +89,3 @@
} }
} }
} }
.ui.explore-relevancy-note {
border-top: 0;
margin-top: 0;
max-width: 90%;
}