Skip to content

Commit a961335

Browse files
silverwindlunnyzeripath
authored
Issue list alignment tweaks (#15483)
Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent 5e98d67 commit a961335

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

templates/shared/issuelist.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{ $approvalCounts := .ApprovalCounts}}
33
{{range .Issues}}
44
<li class="item df py-3">
5-
<div class="issue-item-left df py-1">
5+
<div class="issue-item-left df">
66
{{if $.CanWriteIssuesOrPulls}}
77
<div class="ui checkbox issue-checkbox">
88
<input type="checkbox" data-issue-id={{.ID}}></input>

web_src/less/shared/issuelist.less

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
.issue-item-icon svg {
1515
margin-right: .75rem;
16+
margin-top: 1px;
1617
}
1718

1819
.issue-item-icons-right > * + * {
@@ -29,10 +30,11 @@
2930
font-size: 16px;
3031
min-width: 0;
3132
font-weight: 600;
33+
}
3234

33-
> * {
34-
vertical-align: middle;
35-
}
35+
.labels-list {
36+
position: relative;
37+
top: -1.5px;
3638
}
3739

3840
.issue-item-bottom-row {

0 commit comments

Comments
 (0)