-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.4, 2.6.1, 2.7
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
wip-
MDL-44074-master_4 -
In MDL-39824 in the file 'theme/bootstrapbase/less/moodle/core.less' added the following LESS:
.fluid-span (@columns) {
|
width: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1));
|
*width: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%);
|
}
|
|
.empty-region-side-post.used-region-side-pre #region-main.span8 {
|
/** increase the span size by 1 **/
|
.fluid-span(9);
|
}
|
.empty-region-side-post.used-region-side-pre #block-region-side-pre.span4 {
|
/** decrease the span size by 1 **/
|
.fluid-span(3);
|
}
|
However if you look in 'theme/bootstrapbase/less/bootstrap/responsive-1200px-min.less' you have different defined values for the column and gutter width, i.e. in the call:
#grid > .fluid(@fluidGridColumnWidth1200, @fluidGridGutterWidth1200);
|
This does not immediately cause an issue with the Clean theme, but the Essential theme uses a 1-2-3 layout (and conceptually any other contributed theme with the same layout) and not a 2-1-3 layout. And thus because of the miscalculation of the column widths on larger screens you get an issue where the blocks are pushed down because the margins are just a little too big. This is fully documented on CONTRIB-4857 - https://tracker.moodle.org/browse/CONTRIB-4857?focusedCommentId=270345&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-270345.
Therefore for accuracy the correct input variables need to be used to give the correct values. I currently do not know of any visible issue in core that can test this and welcome any that are considered to be caused by the issue.
I have a fix and will be submitting it.
- blocks
-
MDL-43995 Backport MDL-38923: Cannot dock blocks with Bootstrapbase/clean theme
- Closed
- is a regression caused by
-
MDL-31830 Replacement for the course and category management pages
- Closed
-
MDL-40722 Clean theme: Resizing 3 column page with all blocks on the left is not displayed correctly
- Closed
-
MDL-38923 Cannot dock blocks with Bootstrapbase/clean theme
- Closed
-
MDL-39824 Simplification of themes
- Closed
- Testing discovered
-
CONTRIB-4857 Blocks not displaying correctly leaving empty gaps where blocks should be
- Closed
- will help resolve
-
MDL-44280 Clean theme: blocks not responsive in my profile page
- Closed
-
MDL-44318 Tidy up responsive.less
- Closed