Skip to content

Commit

Permalink
Fix mobile menu always visible for lessons
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Aug 18, 2023
1 parent 10ab5fe commit 52a1cef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/css/sensei-course-theme/sidebar-mobile-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ $breakpoint: 783px;

// Desktop
@media screen and (min-width: ($breakpoint)) {
.sensei-course-theme__sidebar-toggle {
.single-lesson .sensei-course-theme__sidebar-toggle {
display: none;
}
}

// Mobile
@media screen and (max-width: ($breakpoint - 1)) {
.sensei-course-theme {

&--sidebar-open {
overflow: hidden;

Expand Down

0 comments on commit 52a1cef

Please sign in to comment.