File tree 2 files changed +7
-1
lines changed
templates/repo/issue/labels
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 8
8
{{ctx.Locale.Tr "repo.issues.filter_sort"}}
9
9
</span>
10
10
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
11
- <div class="left menu">
11
+ <div class="menu">
12
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
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
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>
Original file line number Diff line number Diff line change @@ -135,6 +135,12 @@ h4.ui.header .sub.header {
135
135
font-weight : var (--font-weight-normal );
136
136
}
137
137
138
+ /* open dropdown menus to the left in right-attached headers */
139
+ .ui .attached .header > .ui .right .ui .dropdown .menu {
140
+ right : 0 ;
141
+ left : auto;
142
+ }
143
+
138
144
/* if a .top.attached.header is followed by a .segment, add some margin */
139
145
.ui .segments + .ui .top .attached .header ,
140
146
.ui .attached .segment + .ui .top .attached .header {
You can’t perform that action at this time.
0 commit comments