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>
This commit is contained in:
6543 2021-05-07 15:06:19 +02:00 committed by GitHub
parent 52ca7b9b65
commit 0a32861b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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>

View File

@ -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;
}
> * { .labels-list {
vertical-align: middle; position: relative;
} top: -1.5px;
} }
.issue-item-bottom-row { .issue-item-bottom-row {