diff options
author | silverwind <me@silverwind.io> | 2020-12-19 04:57:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 22:57:25 -0500 |
commit | 4aabbacdfe2830e3b3808e42d6d89d6688754089 (patch) | |
tree | 37beb7e372db9284f092ba56c0aade877e90783d /templates/repo/issue | |
parent | 4ef751215c052cf3b6c4ce3c8b8c0bd58e6f5337 (diff) | |
download | gitea-4aabbacdfe2830e3b3808e42d6d89d6688754089.tar.gz gitea-4aabbacdfe2830e3b3808e42d6d89d6688754089.zip |
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 <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ </span> </button> {{if gt $prUnit.PullRequestsConfig.AllowedMergeStyleCount 1}} - <div class="ui dropdown icon button"> + <div class="ui dropdown icon button no-text"> {{svg "octicon-triangle-down" 14 "dropdown icon"}} <div class="menu"> {{if $prUnit.PullRequestsConfig.AllowMerge}} |