Skip to content

Commit 773c4eb

Browse files
Menrathabias
authored andcommitted
Fix footer displacement on pages with minimal content
solves moodle-an-hochschulen#655
1 parent 0c48993 commit 773c4eb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes
66

77
### Unreleased
88

9+
* 2024-11-18 - Bugfix: Footer displacement on pages with minimal content, resolves #655.
910
* 2024-11-18 - Upstream change: Adopt changes from MDL-77732 ('Custom menu items do not receive active behaviour'), resolves #436 #620 #384 #715.
1011
* 2024-11-13 - Upstream change: Adopt changes from MDL-78999 ('Site logo does not appear in mobile view'), resolves #753.
1112
* 2024-11-11 - Release: Add ssystems GmbH to the list of maintainers in README.md.

scss/boost_union/post.scss

+5-2
Original file line numberDiff line numberDiff line change
@@ -649,11 +649,14 @@ body.theme-boost-union-commincourse {
649649

650650
/* To support additional block regions around the main content area, Boost Union introduced
651651
the main-inner-wrapper HTML element. Unfortunately, this breaks the Flexbox flow of Moodle core.
652-
To make it work again, we have to set the Flexbox flex attribute in the main-inner-wrapper element as well. */
653-
.main-inner-wrapper {
652+
To make it work again, we have to set the Flexbox flex attribute in the main-inner-wrapper element as well.
653+
In addition to that, we set the Flexbox attribute for the #page element as well as it turned out to be necessary. */
654+
.main-inner-wrapper,
655+
#page-wrapper #page {
654656
flex: 1 0 auto;
655657
}
656658

659+
657660
/*---------------------------------------
658661
* Settings: Additional block regions - The offcanvas region.
659662
--------------------------------------*/

0 commit comments

Comments
 (0)