Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 289a1cf

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 e19a348 commit 289a1cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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)