Skip to content

Commit

Permalink
Sidebar: Add padding to top of sidebar when sticky
Browse files Browse the repository at this point in the history
Fix left margin padding on product selector
  • Loading branch information
nginx-jack committed Mar 3, 2025
1 parent fe8d0d0 commit a0624dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ nav {
position: sticky;
top: 0;
height: 100vh;
margin-top: -1rem;
padding-top: 1rem;
}

.sidebar .product-selector-button {
Expand All @@ -402,7 +404,8 @@ nav {
position: absolute;
top: 0;
min-width: 80%;
margin-left: 46rem;
margin-top: 1rem;
margin-left: 44rem;
padding: 1rem 1.5rem;
background-color: white;
border: black 1px solid;
Expand Down

0 comments on commit a0624dd

Please sign in to comment.