From 03aa72e9637b49bdf96a1a19af602e42135c9ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikel=20Mart=C3=ADn?= Date: Tue, 14 Oct 2025 11:01:40 +0200 Subject: [PATCH] MDL-85486 theme_boost: Fix single section page inplace editor When course format is displayed as single section per page, the inplace editable in the section page heading was incorrectly displaye, and the instructions panel was not displayed. Adding some specific styles to fix that behaviour. --- public/theme/boost/scss/moodle/course.scss | 10 ++++++++-- public/theme/boost/style/moodle.css | 3 +++ public/theme/classic/style/moodle.css | 3 +++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/public/theme/boost/scss/moodle/course.scss b/public/theme/boost/scss/moodle/course.scss index 1081ad21d4c..dc970bf6448 100644 --- a/public/theme/boost/scss/moodle/course.scss +++ b/public/theme/boost/scss/moodle/course.scss @@ -667,8 +667,14 @@ $divider-hover-color: $primary !default; } } -.single-section-page .header-action { - display: inline-block; +.single-section-page { + .header-action { + display: inline-block; + } + // Revert page header styles to avoid conflict with inplace editable. + .page-context-header { + overflow: visible; + } } /* Default activity completion page */ diff --git a/public/theme/boost/style/moodle.css b/public/theme/boost/style/moodle.css index 6925634354d..38bd52a0577 100644 --- a/public/theme/boost/style/moodle.css +++ b/public/theme/boost/style/moodle.css @@ -30991,6 +30991,9 @@ table.calendartable caption { .single-section-page .header-action { display: inline-block; } +.single-section-page .page-context-header { + overflow: visible; +} /* Default activity completion page */ .defaultactivitycompletion-item a { diff --git a/public/theme/classic/style/moodle.css b/public/theme/classic/style/moodle.css index 1354eafd2c2..b7c91366cc6 100644 --- a/public/theme/classic/style/moodle.css +++ b/public/theme/classic/style/moodle.css @@ -30991,6 +30991,9 @@ table.calendartable caption { .single-section-page .header-action { display: inline-block; } +.single-section-page .page-context-header { + overflow: visible; +} /* Default activity completion page */ .defaultactivitycompletion-item a {