diff --git a/theme/boost/scss/moodle/debug.scss b/theme/boost/scss/moodle/debug.scss index a534c9cbfbc..9f1f0745c74 100644 --- a/theme/boost/scss/moodle/debug.scss +++ b/theme/boost/scss/moodle/debug.scss @@ -40,6 +40,13 @@ body.behat-site { content: none; } } + + // Workaround for MDL-70411. + // Pad the side of the message drawer out slightly to ensure that Firefox scroll bar does not cover controls at the + // edge of the screen. + [data-region="message-drawer"] { + padding-right: 10px; + } } .phpinfo table, diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 958851f8e8e..56792e92d9f 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -18605,6 +18605,9 @@ body.behat-site .custom-control-input { body.behat-site .custom-control-label::before, body.behat-site .custom-control-label::after { content: none; } +body.behat-site [data-region="message-drawer"] { + padding-right: 10px; } + .phpinfo table, .phpinfo th, .phpinfo h2 { diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index abae55705db..88547bd196f 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -18787,6 +18787,9 @@ body.behat-site .custom-control-input { body.behat-site .custom-control-label::before, body.behat-site .custom-control-label::after { content: none; } +body.behat-site [data-region="message-drawer"] { + padding-right: 10px; } + .phpinfo table, .phpinfo th, .phpinfo h2 {