From 4aabbacdfe2830e3b3808e42d6d89d6688754089 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 19 Dec 2020 04:57:25 +0100 Subject: [PATCH] Fix merge button dropdown triangle alignment (#14041) https://github.com/go-gitea/gitea/pull/14028 had improved dropdown triangle display for buttons with text but had regressed it for buttons without. Fix this by adding a class to prevent horizontal margin adjustment. Co-authored-by: Lauris BH Co-authored-by: techknowlogick Co-authored-by: Lunny Xiao --- templates/repo/issue/view_content/pull.tmpl | 2 +- web_src/less/_base.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 06b8162fda..34eaa83eb2 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -343,7 +343,7 @@ {{if gt $prUnit.PullRequestsConfig.AllowedMergeStyleCount 1}} -