summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/repo/issue/view_content/pull.tmpl2
-rw-r--r--web_src/less/_base.less4
2 files changed, 5 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}}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index c07c76eb92..e49b1c5bbb 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1792,6 +1792,10 @@ table th[data-sortt-desc] {
.ui.selection.dropdown > .dropdown.icon {
top: 0 !important;
}
+.ui.dropdown.no-text > .dropdown.icon {
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+}
/* limit width of all direct dropdown menu children */
/* https://github.com/go-gitea/gitea/pull/10835 */