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 3ee713a commit 2808e05
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-11 - Release: Add ssystems GmbH to the list of maintainers in README.md.

### v4.1-r32
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 @@ -601,11 +601,14 @@ body.theme_boost-union-footerbuttondesktop.jsenabled {

/* 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 2808e05

Please sign in to comment.