Issue list alignment tweaks (#15483)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent 5e98d670d3
commit a961335dc7
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,7 +2,7 @@
{{ $approvalCounts := .ApprovalCounts}} {{ $approvalCounts := .ApprovalCounts}}
{{range .Issues}} {{range .Issues}}
<li class="item df py-3"> <li class="item df py-3">
<div class="issue-item-left df py-1"> <div class="issue-item-left df">
{{if $.CanWriteIssuesOrPulls}} {{if $.CanWriteIssuesOrPulls}}
<div class="ui checkbox issue-checkbox"> <div class="ui checkbox issue-checkbox">
<input type="checkbox" data-issue-id={{.ID}}></input> <input type="checkbox" data-issue-id={{.ID}}></input>

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

Loading…
Cancel
Save