Skip to content

Commit b69826c

Browse files
authored
Do not show sidebar drop shadow on small/medium screens (#30)
removed sidebar drop shadow on screens where it's not open by default (small/medium size screens)
1 parent 15456df commit b69826c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111

12+
- Removed sidebar drop shadow on screens where it's closed by default (small/medium size screens) in order to avoid having a shadow visible to the left of the screen even when the menu is closed on mobile/tablet
1213
- Fixed a problem where menu-open would be added to menu items without children
1314
- Menu styling is now using different colors for hovering and normal state
1415

styles/Layout/SideBarLayout.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ $topnav-light-toggler-color: $gray-900;
6666
z-index: $zindex-sidenav;
6767
// Mobile first transform - by default the sidenav will be moved off-canvas
6868
transform: translateX(-$sidenav-base-width);
69-
box-shadow: 0 0 0.5rem 0.125rem rgba($color: $gray-500, $alpha: 0.75);
69+
70+
@include media-breakpoint-up(lg) {
71+
box-shadow: 0 0 0.5rem 0.125rem rgba($color: $gray-500, $alpha: 0.75);
72+
}
7073
}
7174

7275
&__content {

0 commit comments

Comments
 (0)