Issue list alignment tweaks (#15483)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
release/v1.15
silverwind 2021-05-05 18:57:59 +02:00 committed by GitHub
parent 5e98d670d3
commit a961335dc7
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;
> * {
vertical-align: middle;
} }
.labels-list {
position: relative;
top: -1.5px;
} }
.issue-item-bottom-row { .issue-item-bottom-row {