Skip to content

Commit b14a475

Browse files
committedMay 23, 2024
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 fe06a37 commit b14a475

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

Diff for: ‎material.angular.io/src/app/pages/component-sidenav/component-sidenav.scss

+3-2
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)
Please sign in to comment.