]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: make multi-cluster context switcher scrollable if we have many entries...
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Tue, 23 Jul 2024 06:29:42 +0000 (11:59 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Thu, 1 Aug 2024 06:17:52 +0000 (11:47 +0530)
Fixes: https://tracker.ceph.com/issues/67069
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.scss

index 56dc7e749a3ed851c14ec4b9f3c4fc78fd6a9a16..afd330e7e4d7e374b610af472e2e1486f15fd03a 100644 (file)
@@ -32,6 +32,13 @@ cds-header-item {
   margin-left: 6rem;
 }
 
+::ng-deep .cds--header__menu-title[aria-expanded='true'] + .cds--header__menu {
+  max-height: 300px;
+  overflow-x: hidden;
+  overflow-y: auto;
+  width: auto;
+}
+
 ::ng-deep cd-navigation .cd-navbar-top {
   .cd-navbar-brand {
     background: vv.$secondary;