Browse Source

Issue list alignment tweaks (#15483) (#15766)

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
mj-v1.14.3
6543 1 year ago
committed by GitHub
parent
commit
0a32861b28
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/shared/issuelist.tmpl
  2. 8
      web_src/less/shared/issuelist.less

2
templates/shared/issuelist.tmpl

@ -2,7 +2,7 @@
{{ $approvalCounts := .ApprovalCounts}}
{{range .Issues}}
<li class="item df py-3">
<div class="issue-item-left df py-1">
<div class="issue-item-left df">
{{if $.CanWriteIssuesOrPulls}}
<div class="ui checkbox issue-checkbox">
<input type="checkbox" data-issue-id={{.ID}}></input>

8
web_src/less/shared/issuelist.less

@ -13,6 +13,7 @@
.issue-item-icon svg {
margin-right: .75rem;
margin-top: 1px;
}
.issue-item-icons-right > * + * {
@ -29,10 +30,11 @@
font-size: 16px;
min-width: 0;
font-weight: 600;
}
> * {
vertical-align: middle;
}
.labels-list {
position: relative;
top: -1.5px;
}
.issue-item-bottom-row {

Loading…
Cancel
Save