Browse Source

Friendly Business: Fix vertical margins for Blocks to be 1 vertical spacing unit, See #745

Allan Cole 6 years ago
parent
commit
3867f2d3f6

+ 2 - 2
friendly-business/sass/blocks/_blocks.scss

@@ -38,8 +38,8 @@
 		clear: both;
 
 		@include media(tablet) {
-			margin-top: calc(2 * #{$size__vertical-spacing-unit});
-			margin-bottom: calc(2 * #{$size__vertical-spacing-unit});
+			margin-top: $size__vertical-spacing-unit;
+			margin-bottom: $size__vertical-spacing-unit;
 			left: calc( -12.5% - 75px );
 			width: calc( 125% + 150px );
 			max-width: calc( 125% + 150px );

+ 2 - 2
friendly-business/style-rtl.css

@@ -3334,8 +3334,8 @@ body.page .main-navigation {
 @media only screen and (min-width: 768px) {
   .entry .entry-content > *.alignfull,
   .entry .entry-summary > *.alignfull {
-    margin-top: calc(2 * 32px);
-    margin-bottom: calc(2 * 32px);
+    margin-top: 32px;
+    margin-bottom: 32px;
     right: calc( -12.5% - 75px);
     width: calc( 125% + 150px);
     max-width: calc( 125% + 150px);

+ 2 - 2
friendly-business/style.css

@@ -3340,8 +3340,8 @@ body.page .main-navigation {
 @media only screen and (min-width: 768px) {
   .entry .entry-content > *.alignfull,
   .entry .entry-summary > *.alignfull {
-    margin-top: calc(2 * 32px);
-    margin-bottom: calc(2 * 32px);
+    margin-top: 32px;
+    margin-bottom: 32px;
     left: calc( -12.5% - 75px);
     width: calc( 125% + 150px);
     max-width: calc( 125% + 150px);