From 842bba94ac9649352bbb23f997b49738e38057de Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 20 Apr 2020 00:24:46 +0200 Subject: [PATCH] Fix max-width of selection dropdowns (#11144) Fix a regression added by https://github.com/go-gitea/gitea/pull/10897/files. --- web_src/less/_base.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/less/_base.less b/web_src/less/_base.less index bafacac6e8..ea0b8c5566 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1223,7 +1223,7 @@ i.icon.centerlock { /* limit width of all direct dropdown menu children */ /* https://github.com/go-gitea/gitea/pull/10835 */ -.dropdown > .menu > * { +.dropdown:not(.selection) > .menu > * { max-width: 300px; overflow-x: hidden; text-overflow: ellipsis;