Skip to content

Commit 28338d2

Browse files
committed
Sidebar: Touch up to padding
1 parent 50df63f commit 28338d2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

assets/css/v2/style.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
--sidebar-line-box-left: 12px;
9292
--sidebar-width: 22rem;
9393
--sidebar-line-width: 11.5px;
94-
--sidebar-mobile-top-displacement: 3rem;
94+
--sidebar-mobile-top-displacement: 5rem;
9595
--side-gutter-width: 20rem;
9696
--table-top-bottom-spacing: 1rem;
9797
--table-row-space-between: 1.5rem;
@@ -550,6 +550,8 @@ nav {
550550
position: sticky;
551551
top: 1rem;
552552
margin-top: 2rem;
553+
margin-left: 2rem;
554+
margin-right: 2rem;
553555
padding: 0.5rem;
554556
color: white;
555557
background-color: oklch(var(--color-brand));
@@ -579,7 +581,7 @@ nav {
579581
.sidebar-layout {
580582
min-height: fit-content;
581583
background: white;
582-
z-index: 3;
584+
z-index: 999;
583585
width: calc(100% + 4rem);
584586
margin-left: -2rem;
585587

@@ -590,9 +592,9 @@ nav {
590592
nav {
591593
width: 100%;
592594
display: none;
593-
padding: 0;
594595
top: var(--sidebar-mobile-top-displacement);
595596
max-height: calc(100vh - var(--sidebar-mobile-top-displacement));
597+
padding: 0 2rem;
596598

597599
.sidebar__container {
598600
width: 100%;

0 commit comments

Comments
 (0)