summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/repo/issue/view_content/pull.tmpl2
-rw-r--r--web_src/less/_base.less8
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl
index a5d753ac09..3a89cd184f 100644
--- a/templates/repo/issue/view_content/pull.tmpl
+++ b/templates/repo/issue/view_content/pull.tmpl
@@ -283,7 +283,7 @@
</button>
<div class="ui dropdown icon button">
<i class="dropdown icon"></i>
- <div class="menu">
+ <div class="menu left">
{{if $prUnit.PullRequestsConfig.AllowMerge}}
<div class="item{{if eq .MergeStyle "merge"}} active selected{{end}}" data-do="merge">{{$.i18n.Tr "repo.pulls.merge_pull_request"}}</div>
{{end}}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 3756f8686e..e8bb407a0b 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1048,6 +1048,14 @@ i.icon.centerlock {
top: 1.45em;
}
+// temporary workaround for fomantic 2.8.5 bug
+// https://github.com/go-gitea/gitea/pull/11767
+i.icon,
+i.icons {
+ vertical-align: unset;
+ line-height: unset;
+}
+
.ui.label {
padding: .3em .5em;
}