Skip to content

Commit

Permalink
change mobile sidenav bg
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Nov 14, 2023
1 parent 38c4a98 commit 13537f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
--sb-max-width: 100%;
--sb-width: 100%;
--sb-content-width: 87%;
--sb-shadow: 0.125rem 0 0.375rem #{$c-sidebar-shadow};
--layout-tabs-height: 4rem;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
--sb-max-width: 100%;
--sb-width: 100%;
--sb-content-width: 87%;
--sb-shadow: 0.125rem 0 0.375rem #{$c-sidebar-shadow};
--layout-tabs-height: 4rem;
--header-h: 0;
}
Expand Down
3 changes: 2 additions & 1 deletion src/shared/ui-kit/Sidenav/Sidenav.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $zIndex: 3;
left: 0;
z-index: $zIndex;
display: block;
background-color: $c-gray-5;
background-color: $c-shades-white;
opacity: 0.5;
animation: fade var(--sb-transition-duration);
}
Expand All @@ -42,6 +42,7 @@ $zIndex: 3;

@include tablet {
right: 0;
backdrop-filter: blur(0.125rem);
}

@media (prefers-reduced-motion: reduce) {
Expand Down

0 comments on commit 13537f9

Please sign in to comment.