@@ -5,7 +5,7 @@
@mixin media( $res ) {
@if mobile-only == $res {
- @media only screen and (max-width: calc(map-deep-get($config-global, "breakpoint", "sm") - 1)) {
+ @media only screen and (max-width: #{map-deep-get($config-global, "breakpoint", "sm") - 1}) {
@content;
}
@@ -1,6 +1,12 @@
.wp-block-spacer {
display: block;
// Remove vertical margins
- margin-bottom: 0;
- margin-top: 0;
+ margin-bottom: 0 !important;
+ margin-top: 0 !important;
+
+ @include media(mobile-only) {
+ &[style] {
+ height: map-deep-get($config-global, "spacing", "unit") !important;
+ }
@@ -1810,8 +1810,14 @@ hr.is-style-dots:before {
+}
+@media only screen and (max-width: 559px) {
+ .wp-block-spacer[style] {
+ height: 32px !important;
table,
+ height: 16px !important;