From 1fb783efb0dbb3cb866f37ee6b77a003b636de59 Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Thu, 18 Jun 2020 19:16:26 +0200 Subject: [PATCH] Fix scrollable header on dropdowns (#11893) Co-authored-by: Lunny Xiao Co-authored-by: techknowlogick Co-authored-by: Lauris BH --- 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 b3afe3648f..f99e07199e 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1239,7 +1239,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;