Skip to content

Commit

Permalink
Fix footer displacement on pages with minimal content (#705)
Browse files Browse the repository at this point in the history
solves #655
  • Loading branch information
Menrath authored and abias committed Nov 18, 2024
1 parent 9a881c8 commit a3fbf0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 5 additions & 2 deletions scss/boost_union/post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -645,11 +645,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.
--------------------------------------*/
Expand Down

0 comments on commit a3fbf0c

Please sign in to comment.