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/user/dashboard | |
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/user/dashboard')
-rw-r--r-- | templates/user/dashboard/repolist.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl index 717318634e..e1b97c8b9c 100644 --- a/templates/user/dashboard/repolist.tmpl +++ b/templates/user/dashboard/repolist.tmpl @@ -29,9 +29,9 @@ <div class="ui attached secondary segment repos-search"> <div class="ui fluid right action left icon input" :class="{loading: isLoading}"> <input @input="searchRepos(reposFilter)" v-model="searchQuery" ref="search" placeholder="{{.i18n.Tr "home.search_repos"}}"> - <i class="search icon"></i> - <div class="ui dropdown button" title="{{.i18n.Tr "home.filter"}}"> - <i class="icon filter"></i> + <i class="icon df ac jc">{{svg "octicon-search" 16}}</i> + <div class="ui dropdown icon button" title="{{.i18n.Tr "home.filter"}}"> + <i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i> <div class="menu"> <div class="item"> <a @click="toggleArchivedFilter()"> |