From 3a2679db2e9962bda7c67e34ecf3d872e648ed19 Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Fri, 19 Jun 2020 02:25:58 +0200 Subject: [PATCH] Fix scrollable header on dropdowns (#11893) (#11965) Co-authored-by: Lunny Xiao Co-authored-by: techknowlogick Co-authored-by: Lauris BH (cherry picked from commit 1fb783efb0dbb3cb866f37ee6b77a003b636de59) --- 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 f12b204d9e..b6e0291cad 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1245,7 +1245,7 @@ i.icon.centerlock { /* limit width of all direct dropdown menu children */ /* https://github.com/go-gitea/gitea/pull/10835 */ -.dropdown:not(.selection) > .menu:not(.review-box) > * { +.dropdown:not(.selection) > .menu:not(.review-box) > *:not(.header) { max-width: 300px; overflow-x: hidden; text-overflow: ellipsis;