From bd6f87ed82519fb0d2e0c6877fbbe7c7fa155376 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Wed, 16 Aug 2017 15:53:40 +0800 Subject: [PATCH] MDL-59809 boost: Don't allow z-index on pagination This causes parts of the pagination bar to show through overlays and modals. --- theme/boost/scss/moodle/undo.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/theme/boost/scss/moodle/undo.scss b/theme/boost/scss/moodle/undo.scss index 982e6bff12b..aea2dc89c7a 100644 --- a/theme/boost/scss/moodle/undo.scss +++ b/theme/boost/scss/moodle/undo.scss @@ -138,3 +138,12 @@ ol { max-height: calc(100vh - #{$navbar-height}); overflow-y: auto; } + +// Dont allow z-index creep anywhere. +.page-item { + &.active .page-link { + @include plain-hover-focus { + z-index: inherit; + } + } +}