From 025b27590fd8dde68cf45db0aa5723f7f5b17de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= <99024746+Menrath@users.noreply.github.com> Date: Mon, 18 Nov 2024 20:15:20 +0100 Subject: [PATCH] Fix footer displacement on pages with minimal content (#705) solves #655 --- CHANGES.md | 1 + scss/boost_union/post.scss | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f6341f2f1a6..02d9b67a029 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2024-11-18 - Bugfix: Footer displacement on pages with minimal content, resolves #655. * 2024-11-18 - Upstream change: Adopt changes from MDL-77732 ('Custom menu items do not receive active behaviour'), resolves #436 #620 #384 #715. * 2024-11-13 - Upstream change: Adopt changes from MDL-78999 ('Site logo does not appear in mobile view'), resolves #753. * 2024-11-11 - Release: Add ssystems GmbH to the list of maintainers in README.md. diff --git a/scss/boost_union/post.scss b/scss/boost_union/post.scss index 92d8a21c064..f761ae7fdf5 100644 --- a/scss/boost_union/post.scss +++ b/scss/boost_union/post.scss @@ -649,11 +649,14 @@ body.theme-boost-union-commincourse { /* To support additional block regions around the main content area, Boost Union introduced the main-inner-wrapper HTML element. Unfortunately, this breaks the Flexbox flow of Moodle core. - To make it work again, we have to set the Flexbox flex attribute in the main-inner-wrapper element as well. */ -.main-inner-wrapper { + To make it work again, we have to set the Flexbox flex attribute in the main-inner-wrapper element as well. + In addition to that, we set the Flexbox attribute for the #page element as well as it turned out to be necessary. */ +.main-inner-wrapper, +#page-wrapper #page { flex: 1 0 auto; } + /*--------------------------------------- * Settings: Additional block regions - The offcanvas region. --------------------------------------*/