Skip to content

Commit a0624dd

Browse files
committed
Sidebar: Add padding to top of sidebar when sticky
Fix left margin padding on product selector
1 parent fe8d0d0 commit a0624dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

assets/css/v2/style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ nav {
377377
position: sticky;
378378
top: 0;
379379
height: 100vh;
380+
margin-top: -1rem;
381+
padding-top: 1rem;
380382
}
381383

382384
.sidebar .product-selector-button {
@@ -402,7 +404,8 @@ nav {
402404
position: absolute;
403405
top: 0;
404406
min-width: 80%;
405-
margin-left: 46rem;
407+
margin-top: 1rem;
408+
margin-left: 44rem;
406409
padding: 1rem 1.5rem;
407410
background-color: white;
408411
border: black 1px solid;

0 commit comments

Comments
 (0)