Skip to content

Commit

Permalink
Issue list alignment tweaks (#15483) (#15766)
Browse files Browse the repository at this point in the history
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
  • Loading branch information
4 people committed May 7, 2021
1 parent 52ca7b9 commit 0a32861
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 0a32861

Please sign in to comment.