summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-04-20 00:24:46 +0200
committerGitHub <noreply@github.com>2020-04-20 01:24:46 +0300
commit842bba94ac9649352bbb23f997b49738e38057de (patch)
treecb89f6551cdc6fcea345d8437f1a0a67ab5e5ab5 /web_src
parent77fecec64f16afe4c7cd5a353bd4d12f217056ff (diff)
downloadgitea-842bba94ac9649352bbb23f997b49738e38057de.tar.gz
gitea-842bba94ac9649352bbb23f997b49738e38057de.zip
Fix max-width of selection dropdowns (#11144)
Fix a regression added by https://github.com/go-gitea/gitea/pull/10897/files.
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_base.less2
1 files changed, 1 insertions, 1 deletions
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;