summaryrefslogtreecommitdiffstats
path: root/templates/projects
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-21 17:54:26 +0200
committerGitHub <noreply@github.com>2023-09-21 17:54:26 +0200
commit1f026bcb7eecad0b98d65089bb7fe5986b337d7d (patch)
tree78e2db54778674a4f9f84b361bfa0ead2894f9ea /templates/projects
parentFix repo sub menu (#27169) (diff)
downloadforgejo-1f026bcb7eecad0b98d65089bb7fe5986b337d7d.tar.xz
forgejo-1f026bcb7eecad0b98d65089bb7fe5986b337d7d.zip
Fix dropdown icon position (#27175)
According to https://fomantic-ui.com/modules/dropdown.html and our "devtest" page, many dropdown elements has incorrect "icon" position. This PR fixes all of them. Fix #27173
Diffstat (limited to 'templates/projects')
-rw-r--r--templates/projects/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl
index 1f3668be7a..930cbca7e2 100644
--- a/templates/projects/list.tmpl
+++ b/templates/projects/list.tmpl
@@ -33,8 +33,8 @@
<div class="list-header-sort ui small dropdown type jump item">
<span class="text">
{{.locale.Tr "repo.issues.filter_sort"}}
- {{svg "octicon-triangle-down" 14 "dropdown icon"}}
</span>
+ {{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu">
<a class="{{if eq .SortType "oldest"}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&sort=oldest&state={{$.State}}">{{.locale.Tr "repo.issues.filter_sort.oldest"}}</a>
<a class="{{if eq .SortType "recentupdate"}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&sort=recentupdate&state={{$.State}}">{{.locale.Tr "repo.issues.filter_sort.recentupdate"}}</a>