From 9b0a93d244c2827cc24d3141cea8eca744dbd375 Mon Sep 17 00:00:00 2001 From: Thomas Jakobi Date: Mon, 17 Jan 2022 22:02:17 +0100 Subject: [PATCH] Fix subsubnav position issue (#15970) * Fix subsubnav position issue * grunt build Co-authored-by: Jason Coward --- _build/templates/default/sass/_navbar.scss | 8 +++++++- manager/controllers/default/header.php | 2 +- manager/templates/default/css/index-min.css | 2 +- manager/templates/default/css/index.css | 6 +++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/_build/templates/default/sass/_navbar.scss b/_build/templates/default/sass/_navbar.scss index 8ff5639aece..8a9a564b320 100644 --- a/_build/templates/default/sass/_navbar.scss +++ b/_build/templates/default/sass/_navbar.scss @@ -295,9 +295,15 @@ list-style: none; position: absolute; left: 295px; - bottom: 0; + top: 0; z-index: 24; } + &.modx-subnav-usernav { + .modx-subsubnav { + top: initial; + bottom: 0; + } + } &-arrow { right: 100%; diff --git a/manager/controllers/default/header.php b/manager/controllers/default/header.php index d9c7b079317..7b542ef3448 100644 --- a/manager/controllers/default/header.php +++ b/manager/controllers/default/header.php @@ -197,7 +197,7 @@ public function buildMenu($name, $placeholder) $menuTpl .= ''."\n"; if (!empty($menu['children'])) { - $this->submenus .= '