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/diff | |
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/diff')
-rw-r--r-- | templates/repo/diff/compare.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl index 920ff120f7..7daafa3e2a 100644 --- a/templates/repo/diff/compare.tmpl +++ b/templates/repo/diff/compare.tmpl @@ -21,7 +21,7 @@ </div> <div class="menu"> <div class="ui icon search input"> - <i class="filter icon"></i> + <i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i> <input name="search" placeholder="{{.i18n.Tr "repo.pulls.filter_branch"}}..."> </div> <div class="scrolling menu"> @@ -54,7 +54,7 @@ </div> <div class="menu"> <div class="ui icon search input"> - <i class="filter icon"></i> + <i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i> <input name="search" placeholder="{{.i18n.Tr "repo.pulls.filter_branch"}}..."> </div> <div class="scrolling menu"> |