From fcd34f1876c8d6e9c78d5566526f1290d9b2b580 Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Thu, 26 Mar 2020 04:57:49 +1100 Subject: [PATCH 01/13] MDL-68200 theme_boost: workaround for IE for flexbox not filling height read more: https://philipwalton.com/articles/normalizing-cross-browser-flexbox-bugs/ --- theme/boost/scss/moodle/undo.scss | 2 +- theme/boost/style/moodle.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/boost/scss/moodle/undo.scss b/theme/boost/scss/moodle/undo.scss index 5e6e4b3a45b..0d2408fbf1a 100644 --- a/theme/boost/scss/moodle/undo.scss +++ b/theme/boost/scss/moodle/undo.scss @@ -236,7 +236,7 @@ $allow-reset-style: true !default; vertical-align: top; div[role="main"] { - flex: 1; + flex: 1 0 auto; } .activity-navigation { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 74d9792212b..91969ef1697 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -17726,7 +17726,7 @@ body.reset-style #page-content { padding-right: 1.25rem; vertical-align: top; } body.reset-style #page-content #region-main-box #region-main div[role="main"] { - flex: 1; } + flex: 1 0 auto; } body.reset-style #page-content #region-main-box #region-main .activity-navigation { overflow: hidden; } body.reset-style #page-content #region-main-box #region-main.has-blocks { From 9f2a68feb4a4519f223ed958b2d51c0772c50e00 Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Thu, 26 Mar 2020 05:05:49 +1100 Subject: [PATCH 02/13] MDL-68200 mod_forum: single discussion to follow nestet_v2 display rules --- mod/forum/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/view.php b/mod/forum/view.php index 5c9f43edae7..9514e74ba92 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -108,7 +108,7 @@ $PAGE->set_heading($course->fullname); $PAGE->set_button(forum_search_form($course, $search)); if ($istypesingle && $displaymode == FORUM_MODE_NESTED_V2) { - $PAGE->add_body_class('reset-style'); + $PAGE->add_body_class('nested-v2-display-mode reset-style'); $settingstrigger = $OUTPUT->render_from_template('mod_forum/settings_drawer_trigger', null); $PAGE->add_header_action($settingstrigger); } From 79364d4cdc29a2536ef00124d42d9346c03cf040 Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Thu, 26 Mar 2020 17:24:17 +1100 Subject: [PATCH 03/13] MDL-68200 mod_forum: remove address tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reasons: - The element “h4” must not appear as a descendant of the “address” element - This element should not contain more information than the contact information, like a publication date (which belongs in a