diff --git a/theme/boost/scss/moodle/drawer.scss b/theme/boost/scss/moodle/drawer.scss index b66185540ee..a422c7a2510 100644 --- a/theme/boost/scss/moodle/drawer.scss +++ b/theme/boost/scss/moodle/drawer.scss @@ -224,7 +224,8 @@ $right-drawer-width: 320px; @include media-breakpoint-up(lg) { .drawer { // Make sure that in large screens the drawer goes under the drop down menus. - z-index: $zindex-dropdown - 1; + z-index: inherit; + // Workaround to display the skip link elements from the blocks drawer infront of the navbar. // As the skip link is in a fixed position and z-index for this element is ignored // then it is hidden behind the top navbar. diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index ed3b289861d..cdb033f6fc7 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -30135,7 +30135,7 @@ body.drawer-ease { @media (min-width: 992px) { .drawer { - z-index: 999; + z-index: inherit; } .drawer#theme_boost-drawers-blocks:focus-within { z-index: 1031; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 07dc2b23fb7..14887ba434f 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -30135,7 +30135,7 @@ body.drawer-ease { @media (min-width: 992px) { .drawer { - z-index: 999; + z-index: inherit; } .drawer#theme_boost-drawers-blocks:focus-within { z-index: 1031;