Skip to content

Commit c69f860

Browse files
author
Aashish Sharma
committed
mgr/dashboard: make multi-cluster context switcher scrollable if we have many entries in it
Fixes: https://tracker.ceph.com/issues/67069 Signed-off-by: Aashish Sharma <[email protected]>
1 parent 3250b54 commit c69f860

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ cds-header-item {
3232
margin-left: 6rem;
3333
}
3434

35+
::ng-deep .cds--header__menu-title[aria-expanded='true'] + .cds--header__menu {
36+
max-height: 300px;
37+
overflow-x: hidden;
38+
overflow-y: auto;
39+
width: auto;
40+
}
41+
3542
::ng-deep cd-navigation .cd-navbar-top {
3643
.cd-navbar-brand {
3744
background: vv.$secondary;

0 commit comments

Comments
 (0)