File tree 2 files changed +11
-19
lines changed
templates/repo/issue/labels 2 files changed +11
-19
lines changed Original file line number Diff line number Diff line change 1
1
<h4 class="ui top attached header">
2
2
{{ctx.Locale.Tr "repo.issues.label_count" .NumLabels}}
3
3
<div class="ui right">
4
- <div class="ui secondary menu">
5
- <!-- Sort -->
6
- <div class="item ui jump dropdown tw-py-2">
7
- <span class="text">
8
- {{ctx.Locale.Tr "repo.issues.filter_sort"}}
9
- </span>
10
- {{svg "octicon-triangle-down" 14 "dropdown icon"}}
11
- <div class="menu">
12
- <a class="{{if or (eq .SortType "alphabetically") (not .SortType)}}active {{end}}item" href="?sort=alphabetically&state={{$.State}}">{{ctx.Locale.Tr "repo.issues.label.filter_sort.alphabetically"}}</a>
13
- <a class="{{if eq .SortType "reversealphabetically"}}active {{end}}item" href="?sort=reversealphabetically&state={{$.State}}">{{ctx.Locale.Tr "repo.issues.label.filter_sort.reverse_alphabetically"}}</a>
14
- <a class="{{if eq .SortType "leastissues"}}active {{end}}item" href="?sort=leastissues&state={{$.State}}">{{ctx.Locale.Tr "repo.milestones.filter_sort.least_issues"}}</a>
15
- <a class="{{if eq .SortType "mostissues"}}active {{end}}item" href="?sort=mostissues&state={{$.State}}">{{ctx.Locale.Tr "repo.milestones.filter_sort.most_issues"}}</a>
16
- </div>
4
+ <!-- Sort -->
5
+ <div class="item ui jump dropdown tw-py-2">
6
+ <span class="text">
7
+ {{ctx.Locale.Tr "repo.issues.filter_sort"}}
8
+ </span>
9
+ {{svg "octicon-triangle-down" 14 "dropdown icon"}}
10
+ <div class="left menu">
11
+ <a class="{{if or (eq .SortType "alphabetically") (not .SortType)}}active {{end}}item" href="?sort=alphabetically&state={{$.State}}">{{ctx.Locale.Tr "repo.issues.label.filter_sort.alphabetically"}}</a>
12
+ <a class="{{if eq .SortType "reversealphabetically"}}active {{end}}item" href="?sort=reversealphabetically&state={{$.State}}">{{ctx.Locale.Tr "repo.issues.label.filter_sort.reverse_alphabetically"}}</a>
13
+ <a class="{{if eq .SortType "leastissues"}}active {{end}}item" href="?sort=leastissues&state={{$.State}}">{{ctx.Locale.Tr "repo.milestones.filter_sort.least_issues"}}</a>
14
+ <a class="{{if eq .SortType "mostissues"}}active {{end}}item" href="?sort=mostissues&state={{$.State}}">{{ctx.Locale.Tr "repo.milestones.filter_sort.most_issues"}}</a>
17
15
</div>
18
16
</div>
19
17
</div> <!-- filter menu -->
Original file line number Diff line number Diff line change @@ -134,12 +134,6 @@ h4.ui.header .sub.header {
134
134
font-weight : var (--font-weight-normal );
135
135
}
136
136
137
- /* open dropdown menus to the left in right-attached headers */
138
- .ui .attached .header > .ui .right .ui .dropdown .menu {
139
- right : 0 ;
140
- left : auto;
141
- }
142
-
143
137
/* if a .top.attached.header is followed by a .segment, add some margin */
144
138
.ui .segments + .ui .top .attached .header ,
145
139
.ui .attached .segment + .ui .top .attached .header {
You can’t perform that action at this time.
0 commit comments