MDL-63102 core_block: Reduced spacing between blocks

Reduce the calculated bottom margin between blocks to half
This commit is contained in:
Peter
2018-10-12 10:13:36 +08:00
parent 129783b98c
commit 970bb713b3
5 changed files with 10 additions and 4 deletions
+3
View File
@@ -63,6 +63,9 @@ $blocks-plus-gutter: $blocks-column-width + ( $grid-gutter-width / 2 );
width: calc(100% - #{$blocks-plus-gutter});
@include media-breakpoint-down(lg) {
width: 100%;
/* MDL-63102 - Remove extra space at bottom.
If modifying make sure block-region is horizontally stacked when in full screen */
display: block;
}
}
+1 -1
View File
@@ -2140,4 +2140,4 @@ div.editor_atto_toolbar button .icon {
.dir-ltr-hide {
display: none;
}
}
}
+4 -1
View File
@@ -11118,7 +11118,10 @@ div.editor_atto_toolbar button .icon {
@media (max-width: 1199.98px) {
#region-main-settings-menu.has-blocks,
#region-main.has-blocks {
width: 100%; } }
width: 100%;
/* MDL-63102 - Remove extra space at bottom.
If modifying make sure block-region is horizontally stacked when in full screen */
display: block; } }
@media (max-width: 1199.98px) {
[data-region="blocks-column"] {
+1 -1
View File
@@ -68,7 +68,7 @@
<div> {{{ output.region_main_settings_menu }}} </div>
</div>
{{/hasregionmainsettingsmenu}}
<section id="region-main" {{#hasblocks}}class="has-blocks mb-3"{{/hasblocks}}>
<section id="region-main" {{#hasblocks}}class="has-blocks mb-2"{{/hasblocks}}>
{{#hasregionmainsettingsmenu}}
<div class="region_main_settings_menu_proxy"></div>
+1 -1
View 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-3"
class="{{#hidden}}hidden{{/hidden}} block block_{{type}} {{#hascontrols}}block_with_controls{{/hascontrols}} card mb-2"
role="{{ariarole}}"
data-block="{{type}}"
{{#arialabel}}