MDL-58303 theme_boost: change dashboard block breakpoint to xl
authorRyan Wyllie <ryan@moodle.com>
Tue, 21 Mar 2017 05:27:39 +0000 (05:27 +0000)
committerDan Poltawski <dan@moodle.com>
Tue, 4 Apr 2017 10:01:54 +0000 (11:01 +0100)
Part of MDL-55611 epic.

theme/boost/config.php
theme/boost/scss/moodle/blocks.scss

index 1799747..57e81c4 100644 (file)
@@ -79,8 +79,8 @@ $THEME->layouts = [
     // My dashboard page.
     'mydashboard' => array(
         'file' => 'columns2.php',
-        'regions' => array('content'),
-        'defaultregion' => 'content',
+        'regions' => array('side-pre'),
+        'defaultregion' => 'side-pre',
         'options' => array('nonavbar' => true, 'langmenu' => true),
     ),
     // My public page.
index 7ab7cf7..fb02c53 100644 (file)
@@ -60,13 +60,13 @@ $blocks-plus-gutter: $blocks-column-width + $grid-gutter-width;
 #region-main.has-blocks {
     display: inline-block;
     width: calc(100% - #{$blocks-plus-gutter});
-    @include media-breakpoint-down(md) {
+    @include media-breakpoint-down(lg) {
         width: 100%;
     }
 }
 
 [data-region="blocks-column"] {
-    @include media-breakpoint-down(md) {
+    @include media-breakpoint-down(lg) {
         width: 100%;
     }
 }