Skip to content

Commit 2998580

Browse files
author
Gusted
committed
Move inline style to _explore.less
1 parent 08bb17f commit 2998580

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: templates/explore/repo_search.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</div>
3232
</form>
3333
{{if .OnlyShowRelevant}}
34-
<div class="ui blue attached message" style="max-width: 90%; margin-top: 0; border-top: 0">
34+
<div class="ui blue attached message explore-relevancy-note">
3535
<span class="ui tooltip" data-content="{{.i18n.Tr "explore.relevant_repositories_tooltip"}}">{{.i18n.Tr "explore.relevant_repositories" ((printf "%s%s" $.Link "?no_filter=1")|Escape) | Safe}}</span>
3636
</div>
3737
{{end}}

Diff for: web_src/less/_explore.less

+6
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,9 @@
8989
}
9090
}
9191
}
92+
93+
.ui.explore-relevancy-note {
94+
border-top: 0;
95+
margin-top: 0;
96+
max-width: 90%;
97+
}

0 commit comments

Comments
 (0)