aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/pulls
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-31 17:10:28 +0900
committerUnknwon <u@gogs.io>2015-08-31 17:10:28 +0900
commitee3e0c3c49d2a4bf9a33386ab22d4c521e5016b6 (patch)
treecad513eb19b70e634e167286f3668a3cf245ff81 /templates/repo/pulls
parent1ca257ad9f90084f4140bd1df4692f9a56c83ad4 (diff)
downloadgitea-ee3e0c3c49d2a4bf9a33386ab22d4c521e5016b6.tar.gz
gitea-ee3e0c3c49d2a4bf9a33386ab22d4c521e5016b6.zip
fix dropdown search
Diffstat (limited to 'templates/repo/pulls')
-rw-r--r--templates/repo/pulls/compare.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/pulls/compare.tmpl b/templates/repo/pulls/compare.tmpl
index b8b490de32..907a25b6cf 100644
--- a/templates/repo/pulls/compare.tmpl
+++ b/templates/repo/pulls/compare.tmpl
@@ -14,14 +14,14 @@
<span class="text">base: {{$.BaseBranch}}</span>
<i class="dropdown icon"></i>
</div>
- <div class="overflow menu">
+ <div class="menu">
<div class="ui icon search input">
<i class="filter icon"></i>
<input name="search" placeholder="Filter branch...">
</div>
- <div class="items">
+ <div class="scrolling menu">
{{range .Branches}}
- <div class="{{if eq $.BaseBranch .}}active selected{{end}} item" data-url="{{$.RepoLink}}/compare/{{.}}...{{$.SignedUser.Name}}:{{$.HeadBranch}}">{{.}}</div>
+ <div class="item {{if eq $.BaseBranch .}}selected{{end}}" data-url="{{$.RepoLink}}/compare/{{.}}...{{$.SignedUser.Name}}:{{$.HeadBranch}}">{{.}}</div>
{{end}}
</div>
</div>
@@ -32,14 +32,14 @@
<span class="text">compare: {{$.HeadBranch}}</span>
<i class="dropdown icon"></i>
</div>
- <div class="overflow menu">
+ <div class="menu">
<div class="ui icon search input">
<i class="filter icon"></i>
<input name="search" placeholder="Filter branch...">
</div>
- <div class="items">
+ <div class="scrolling menu">
{{range .HeadBranches}}
- <div class="{{if eq $.HeadBranch .}}active selected{{end}} item" data-url="{{$.RepoLink}}/compare/{{$.BaseBranch}}...{{$.SignedUser.Name}}:{{.}}">{{.}}</div>
+ <div class="{{if eq $.HeadBranch .}}selected{{end}} item" data-url="{{$.RepoLink}}/compare/{{$.BaseBranch}}...{{$.SignedUser.Name}}:{{.}}">{{.}}</div>
{{end}}
</div>
</div>