summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-18 19:16:26 +0200
committerGitHub <noreply@github.com>2020-06-18 13:16:26 -0400
commit1fb783efb0dbb3cb866f37ee6b77a003b636de59 (patch)
treec005b67f7bea70152a7d1458798cbd189089c376
parent5fcd18a2c4b0221cb5b6f349918e270d7af68a90 (diff)
downloadgitea-1fb783efb0dbb3cb866f37ee6b77a003b636de59.tar.gz
gitea-1fb783efb0dbb3cb866f37ee6b77a003b636de59.zip
Fix scrollable header on dropdowns (#11893)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
-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 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;