Skip to content

Commit e88911e

Browse files
committed
fix nav scroll issue
1 parent 002bb7b commit e88911e

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

styles/main.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,17 @@ body {
112112
flex-shrink: 0;
113113
}
114114

115+
#leftPane .nav-content {
116+
flex: 1 1 auto;
117+
display: flex;
118+
flex-direction: column;
119+
min-height: 0;
120+
}
121+
122+
#leftPane .nav-content .expand-all-btn {
123+
flex-shrink: 0;
124+
}
125+
115126
#leftPane .search-container.has-query {
116127
border-bottom-color: #d3e1f1;
117128
}
@@ -444,7 +455,7 @@ body {
444455
max-height: 50vh;
445456
}
446457

447-
.nav-content {
458+
#leftPane .nav-content {
448459
display: none;
449460
background-color: #ffffff;
450461
border-top: 1px solid #e0e0e0;
@@ -593,7 +604,7 @@ body {
593604

594605
/* Very small screens */
595606
@media (max-width: 480px) {
596-
.nav-content {
607+
#leftPane .nav-content {
597608
max-height: 40vh;
598609
}
599610

0 commit comments

Comments
 (0)