Skip to content

Commit 050a687

Browse files
jljohnson001Splaktar
authored andcommitted
fix(sidenav): unable to scroll sidenav as expected (angular#978)
- fixes a bug in sidenav where user has to scroll to bottom of the page to reach bottom of navigation Fixes angular#857 Co-authored-by: Michael Prentice <splaktar@gmail.com>
1 parent 4c00617 commit 050a687

File tree

1 file changed

+1
-1
lines changed
  • material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-sidenav

1 file changed

+1
-1
lines changed

material.angular.io/material.angular.io/material.angular.io/material.angular.io/material.angular.io/src/app/pages/component-sidenav/component-sidenav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ app-component-sidenav {
3333

3434
.docs-component-viewer-nav-content {
3535
width: constants.$sidenav-width;
36-
height: 100vh;
36+
height: calc(100vh - 56px);
3737
overflow: auto;
3838

3939
&::-webkit-scrollbar {

0 commit comments

Comments
 (0)