From 63d0d9b4729e91e6aa2246d4fab84548922e22d0 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 9 Oct 2018 14:38:12 +0800 Subject: [PATCH] MDL-63043 core_blocks: Increase the fixed width to 360 Increase the fixed width of the column to 360. Already does the realign below centre column Compiled css file --- theme/boost/scss/moodle/blocks.scss | 2 +- theme/boost/style/moodle.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/blocks.scss b/theme/boost/scss/moodle/blocks.scss index 4ab424ae658..128c3f6bddf 100644 --- a/theme/boost/scss/moodle/blocks.scss +++ b/theme/boost/scss/moodle/blocks.scss @@ -25,7 +25,7 @@ } } -$blocks-column-width: 250px !default; +$blocks-column-width: 360px !default; [data-region="blocks-column"] { width: $blocks-column-width; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index b0f897b2d17..3d0364e6285 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -11087,7 +11087,7 @@ div.editor_atto_toolbar button .icon { color: #373a3c; } [data-region="blocks-column"] { - width: 250px; + width: 360px; float: right; } /* We put an absolutely positioned div in a relatively positioned div so it takes up no space */ @@ -11114,7 +11114,7 @@ div.editor_atto_toolbar button .icon { #region-main-settings-menu.has-blocks, #region-main.has-blocks { display: inline-block; - width: calc(100% - 265px); } + width: calc(100% - 375px); } @media (max-width: 1199.98px) { #region-main-settings-menu.has-blocks, #region-main.has-blocks {