From a961335dc77675f4574145cd8c23d63aeed46f65 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 5 May 2021 18:57:59 +0200 Subject: [PATCH] Issue list alignment tweaks (#15483) 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 d07295aa67..c21b320cf7 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 {