From 0a32861b28a9d385df5839e84e87cfe5647289bf Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 7 May 2021 15:06:19 +0200 Subject: [PATCH] Issue list alignment tweaks (#15483) (#15766) Co-authored-by: silverwind Co-authored-by: Lunny Xiao Co-authored-by: zeripath --- templates/shared/issuelist.tmpl | 2 +- web_src/less/shared/issuelist.less | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index 6293bbdd77..3b9344eecf 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -2,7 +2,7 @@ {{ $approvalCounts := .ApprovalCounts}} {{range .Issues}}
  • -
    +
    {{if $.CanWriteIssuesOrPulls}}
    diff --git a/web_src/less/shared/issuelist.less b/web_src/less/shared/issuelist.less index 77442252fc..dfc0acfeff 100644 --- a/web_src/less/shared/issuelist.less +++ b/web_src/less/shared/issuelist.less @@ -13,6 +13,7 @@ .issue-item-icon svg { margin-right: .75rem; + margin-top: 1px; } .issue-item-icons-right > * + * { @@ -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 {