Skip to content

Commit 97e1d44

Browse files
silverwindlunnyzeripath
authored andcommitted
Issue list alignment tweaks (go-gitea#15483)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
1 parent 0a6fa13 commit 97e1d44

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

templates/shared/issuelist.tmpl

+1-1
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

+5-3
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)