Skip to content

Commit 0bf6ecf

Browse files
authored
Merge pull request ceph#58746 from rhcs-dashboard/fix-67069-main
mgr/dashboard: make multi-cluster context switcher scrollable if we have many entries in it Reviewed-by: Avan Thakkar <[email protected]> Reviewed-by: Ankush Behl <[email protected]>
2 parents 66ea575 + c69f860 commit 0bf6ecf

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)