summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-19 04:57:25 +0100
committerGitHub <noreply@github.com>2020-12-18 22:57:25 -0500
commit4aabbacdfe2830e3b3808e42d6d89d6688754089 (patch)
tree37beb7e372db9284f092ba56c0aade877e90783d /web_src
parent4ef751215c052cf3b6c4ce3c8b8c0bd58e6f5337 (diff)
downloadgitea-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 'web_src')
-rw-r--r--web_src/less/_base.less4
1 files changed, 4 insertions, 0 deletions
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 */