Skip to content

Commit

Permalink
Side Nav
Browse files Browse the repository at this point in the history
-Fix BG color
  • Loading branch information
elad2412 committed Dec 25, 2023
1 parent 3e7c6e7 commit cb8e783
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scss/7-components/_side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@

position:sticky; z-index:35; inset-block-start:pxToRem(74); inset-block-end:0;
block-size:calc(100vh - pxToRem(160)); block-size:calc(100dvh - pxToRem(73));
background-color:hsl(var(--p-side-nav-bg-color));
.#{$p}-icon-button { transition:var(--transition); margin-block-end:pxToRem(-4); margin-inline-end:pxToRem(6); }



&-wrapper {
display:flex; flex-direction:column; block-size:100%; gap:pxToRem(16);
padding:pxToRem(16); padding-block-end:pxToRem(32);
background-color:hsl(var(--p-side-nav-bg-color)); transition:var(--transition);
transition:var(--transition);

&-parent {
position:sticky; inset-block-start:pxToRem(-16); background-color:hsl(var(--p-body-bg-color));
Expand Down

0 comments on commit cb8e783

Please sign in to comment.