Skip to content

Commit 7d9e8cf

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

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
@@ -359,6 +359,8 @@ nav {
359359
position: sticky;
360360
top: 0;
361361
height: 100vh;
362+
margin-top: -1rem;
363+
padding-top: 1rem;
362364
}
363365

364366
.sidebar .product-selector-button {
@@ -384,7 +386,8 @@ nav {
384386
position: absolute;
385387
top: 0;
386388
min-width: 80%;
387-
margin-left: 46rem;
389+
margin-top: 1rem;
390+
margin-left: 44rem;
388391
padding: 1rem 1.5rem;
389392
background-color: white;
390393
border: black 1px solid;

0 commit comments

Comments
 (0)