File tree Expand file tree Collapse file tree 3 files changed +25
-10
lines changed Expand file tree Collapse file tree 3 files changed +25
-10
lines changed Original file line number Diff line number Diff line change 2
2
{{$approvalCounts := .ApprovalCounts}}
3
3
{{range .Issues}}
4
4
<div class="flex-item">
5
- <div class="flex-item-leading">
5
+
6
+ <div class="flex-item-icon">
6
7
{{if $.CanWriteIssuesOrPulls}}
7
- <div class="flex-item-icon">
8
- <input type="checkbox" autocomplete="off" class="issue-checkbox gt-mr-4" data-issue-id={{.ID}} aria-label="{{$.locale.Tr "repo.issues.action_check"}} "{{.Title}}"">
9
- </div>
8
+ <input type="checkbox" autocomplete="off" class="issue-checkbox gt-mr-4" data-issue-id={{.ID}} aria-label="{{$.locale.Tr "repo.issues.action_check"}} "{{.Title}}"">
10
9
{{end}}
11
- <div class="flex-item-icon">
12
- {{template "shared/issueicon" .}}
13
- </div>
10
+ {{template "shared/issueicon" .}}
14
11
</div>
12
+
15
13
<div class="flex-item-main">
16
14
<div class="flex-item-header">
17
15
<div class="flex-item-title">
Original file line number Diff line number Diff line change 33
33
}
34
34
}
35
35
36
+ # issue-list .flex-item-title .labels-list {
37
+ display : flex;
38
+ gap : 0.25em ;
39
+ }
40
+
41
+ # issue-list .flex-item-title .labels-list a {
42
+ display : flex;
43
+ text-decoration : none;
44
+ }
45
+
46
+ # issue-list .flex-item-title .labels-list .label {
47
+ padding : 2px 6px ;
48
+ margin : 0 ;
49
+ }
50
+
36
51
# issue-list .flex-item-body .branches {
37
52
display : inline-flex;
38
53
}
Original file line number Diff line number Diff line change 34
34
}
35
35
36
36
.flex-item .flex-item-icon {
37
- display : flex;
38
- align-items : center;
39
- height : 20px ; /* match the default flex-item-title height */
37
+ align-self : baseline; /* mainly used by the issue list, to align the leading icon with the title */
38
+ }
39
+
40
+ .flex-item .flex-item-icon + .flex-item-main {
41
+ align-self : baseline;
40
42
}
41
43
42
44
.flex-item .flex-item-trailing {
You can’t perform that action at this time.
0 commit comments