File tree 7 files changed +20
-8
lines changed
7 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 6
6
{{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/assignee?issue_ids={{$pageMeta.Issue.ID}}"{{end}}
7
7
>
8
8
<input class="combo-value" name="assignee_ids" type="hidden" value="{{$data.SelectedAssigneeIDs}}">
9
- <div class="ui dropdown {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
9
+ <div class="ui dropdown text-flex-grow {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
10
10
<a class="text muted">
11
11
<strong>{{ctx.Locale.Tr "repo.issues.new.assignees"}}</strong> {{if $pageMeta.CanModifyIssueOrPull}}{{svg "octicon-gear"}}{{end}}
12
12
</a>
Original file line number Diff line number Diff line change 4
4
{{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/labels?issue_ids={{$pageMeta.Issue.ID}}"{{end}}
5
5
>
6
6
<input class="combo-value" name="label_ids" type="hidden" value="{{$data.SelectedLabelIDs}}">
7
- <div class="ui dropdown {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
7
+ <div class="ui dropdown text-flex-grow {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
8
8
<a class="text muted">
9
9
<strong>{{ctx.Locale.Tr "repo.issues.new.labels"}}</strong> {{if $pageMeta.CanModifyIssueOrPull}}{{svg "octicon-gear"}}{{end}}
10
10
</a>
Original file line number Diff line number Diff line change 6
6
{{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/milestone?issue_ids={{$pageMeta.Issue.ID}}"{{end}}
7
7
>
8
8
<input class="combo-value" name="milestone_id" type="hidden" value="{{$data.SelectedMilestoneID}}">
9
- <div class="ui dropdown {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
9
+ <div class="ui dropdown text-flex-grow {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
10
10
<a class="text muted">
11
11
<strong>{{ctx.Locale.Tr "repo.issues.new.milestone"}}</strong> {{if $pageMeta.CanModifyIssueOrPull}}{{svg "octicon-gear"}}{{end}}
12
12
</a>
Original file line number Diff line number Diff line change 6
6
{{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/projects?issue_ids={{$pageMeta.Issue.ID}}"{{end}}
7
7
>
8
8
<input class="combo-value" name="project_id" type="hidden" value="{{$data.SelectedProjectID}}">
9
- <div class="ui dropdown {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
9
+ <div class="ui dropdown text-flex-grow {{if not $pageMeta.CanModifyIssueOrPull}}disabled{{end}}">
10
10
<a class="text muted">
11
11
<strong>{{ctx.Locale.Tr "repo.issues.new.projects"}}</strong> {{if $pageMeta.CanModifyIssueOrPull}}{{svg "octicon-gear"}}{{end}}
12
12
</a>
Original file line number Diff line number Diff line change 6
6
{{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/request_review?issue_ids={{$pageMeta.Issue.ID}}"{{end}}
7
7
>
8
8
<input type="hidden" class="combo-value" name="reviewer_ids">{{/* match CreateIssueForm */}}
9
- <div class="ui dropdown {{if or (not $hasCandidates) (not $data.CanChooseReviewer)}}disabled{{end}}">
9
+ <div class="ui dropdown text-flex-grow {{if or (not $hasCandidates) (not $data.CanChooseReviewer)}}disabled{{end}}">
10
10
<a class="text muted">
11
11
<strong>{{ctx.Locale.Tr "repo.issues.review.reviewers"}}</strong> {{if $data.CanChooseReviewer}}{{svg "octicon-gear"}}{{end}}
12
12
</a>
Original file line number Diff line number Diff line change 2
2
{{if and .CanUseTimetracker (not .Repository.IsArchived)}}
3
3
<div class="divider"></div>
4
4
<div>
5
- <div class="ui dropdown jump">
5
+ <div class="ui dropdown text-flex-grow jump">
6
6
<a class="text muted">
7
- <strong>{{ctx.Locale.Tr "repo.issues.tracker"}}</strong> {{svg "octicon-gear"}}
8
- {{if $.IsStopwatchRunning}}{{svg "octicon-stopwatch"}}{{end}}
7
+ <div>
8
+ <strong>{{ctx.Locale.Tr "repo.issues.tracker"}}</strong> {{if $.IsStopwatchRunning}}{{svg "octicon-stopwatch"}}{{end}}
9
+ </div>
10
+ {{svg "octicon-gear"}}
9
11
</a>
10
12
<div class="menu">
11
13
<a class="item issue-set-time-estimate show-modal" data-modal="#issue-time-set-estimate-modal">
Original file line number Diff line number Diff line change @@ -1188,3 +1188,13 @@ the "!important" is necessary to override Fomantic UI menu item styles, meanwhil
1188
1188
overflow : hidden !important ;
1189
1189
text-overflow : ellipsis !important ;
1190
1190
}
1191
+
1192
+ .ui .dropdown .text-flex-grow {
1193
+ display : flex;
1194
+ }
1195
+
1196
+ .ui .dropdown .text-flex-grow > .text {
1197
+ display : flex;
1198
+ flex-grow : 1 ;
1199
+ justify-content : space-between;
1200
+ }
You can’t perform that action at this time.
0 commit comments