Skip to content

Commit

Permalink
Issue list alignment tweaks (#15483)
Browse files Browse the repository at this point in the history
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: zeripath <[email protected]>
  • Loading branch information
3 people authored May 5, 2021
1 parent 5e98d67 commit a961335
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/shared/issuelist.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 5 additions & 3 deletions web_src/less/shared/issuelist.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

.issue-item-icon svg {
margin-right: .75rem;
margin-top: 1px;
}

.issue-item-icons-right > * + * {
Expand All @@ -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 {
Expand Down

0 comments on commit a961335

Please sign in to comment.