diff options
author | silverwind <me@silverwind.io> | 2020-11-09 19:21:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 18:21:47 +0000 |
commit | 8bae34c4b24b6af4ce9144028298884710ebf7a5 (patch) | |
tree | 879e32216b04f2e2dab0bc959ada756582144603 /templates/repo/search.tmpl | |
parent | ef2ffc6aeddb872e438627b9fcb67bdd889fc726 (diff) | |
download | gitea-8bae34c4b24b6af4ce9144028298884710ebf7a5.tar.gz gitea-8bae34c4b24b6af4ce9144028298884710ebf7a5.zip |
Change search and filter icons to SVG (#13473)
Unfortunately, the Fomantic CSS relies on i.icon instead of .icon so a
wrapper is necessary for these with an accompanying class to center the
icon.
Diffstat (limited to 'templates/repo/search.tmpl')
-rw-r--r-- | templates/repo/search.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/search.tmpl b/templates/repo/search.tmpl index 56281e80dd..6aa5567739 100644 --- a/templates/repo/search.tmpl +++ b/templates/repo/search.tmpl @@ -7,7 +7,7 @@ <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "repo.search.search_repo"}}"> <button class="ui button" type="submit"> - <i class="search icon"></i> + <i class="icon df ac jc">{{svg "octicon-search" 16}}</i> </button> </div> </form> |