MDL-63796 theme_boost: reduce padding of blocks
authorRyan Wyllie <ryan@moodle.com>
Mon, 29 Oct 2018 06:07:35 +0000 (14:07 +0800)
committerRyan Wyllie <ryan@moodle.com>
Mon, 29 Oct 2018 06:07:35 +0000 (14:07 +0800)
Reduce the padding of the blocks and revert the margin changes
from MDL-63102.

theme/boost/templates/columns2.mustache
theme/boost/templates/core/block.mustache

index 4ff79b6..7047055 100644 (file)
@@ -68,7 +68,7 @@
                     <div> {{{ output.region_main_settings_menu }}} </div>
                 </div>
                 {{/hasregionmainsettingsmenu}}
-                <section id="region-main" {{#hasblocks}}class="has-blocks mb-2"{{/hasblocks}}>
+                <section id="region-main" {{#hasblocks}}class="has-blocks mb-3"{{/hasblocks}}>
 
                     {{#hasregionmainsettingsmenu}}
                         <div class="region_main_settings_menu_proxy"></div>
index 7123185..f4de2a3 100644 (file)
@@ -20,7 +20,7 @@
 
 {{! Start Block Container }}
 <section id="{{id}}"
-     class="{{#hidden}}hidden{{/hidden}} block block_{{type}} {{#hascontrols}}block_with_controls{{/hascontrols}} card mb-2"
+     class="{{#hidden}}hidden{{/hidden}} block block_{{type}} {{#hascontrols}}block_with_controls{{/hascontrols}} card mb-3"
      role="{{ariarole}}"
      data-block="{{type}}"
      {{#arialabel}}
@@ -33,7 +33,7 @@
      {{/arialabel}}>
 
     {{! Block contents }}
-    <div class="card-body">
+    <div class="card-body p-3">
 
         {{! Block header }}
         {{#title}}