summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-19 02:25:58 +0200
committerGitHub <noreply@github.com>2020-06-18 20:25:58 -0400
commit3a2679db2e9962bda7c67e34ecf3d872e648ed19 (patch)
tree4b79d55b9aee8de8c077d25eddf55edab6e54f30
parent6839010bd6e79c286ca8318afdd3a1c447537ce7 (diff)
downloadgitea-3a2679db2e9962bda7c67e34ecf3d872e648ed19.tar.gz
gitea-3a2679db2e9962bda7c67e34ecf3d872e648ed19.zip
Fix scrollable header on dropdowns (#11893) (#11965)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv> (cherry picked from commit 1fb783efb0dbb3cb866f37ee6b77a003b636de59)
-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 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;