From 944d37ead3f63decddfc65b6b39cc6f02cce39f4 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. --- theme/boost/scss/moodle/course.scss | 10 ++++++++-- theme/boost/style/moodle.css | 3 +++ theme/classic/style/moodle.css | 3 +++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index 2a14dab1fd3..a33dfcf7c74 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -682,8 +682,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/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 4ae5a652900..de1dfb11ba3 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -31152,6 +31152,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/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index d70f6c50320..2abcf44a567 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -31152,6 +31152,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 {