Skip to content

Commit b79ba88

Browse files
committed
fix: sidenav spacing
* Adds some spacing in the sidenav so the new button shapes aren't all the way to the edges. * Fixes that it was hard to scroll some of the bottom sidenav links into view.
1 parent d553a4e commit b79ba88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ app-component-sidenav {
3737

3838
.docs-component-viewer-nav-content {
3939
width: constants.$sidenav-width;
40-
padding: 16px 0;
41-
height: calc(100vh - 56px);
40+
padding: 16px 8px;
41+
height: calc(100vh - 75px);
4242
overflow: auto;
43+
box-sizing: border-box;
4344

4445
&::-webkit-scrollbar {
4546
height: 4px;

0 commit comments

Comments
 (0)