Przeglądaj źródła

Friendly Business: Fixed a few vertical margins that were missed in previous commits

Allan Cole 6 lat temu
rodzic
commit
6260bf6730

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

@@ -262,8 +262,8 @@
 	.wp-block-latest-posts.is-grid {
 		li {
 			border-top: 2px solid $color__border;
-			padding-top: (1 * $size__spacing-unit);
-			margin-bottom: (2 * $size__vertical-spacing-unit);
+			padding-top: $size__spacing-unit;
+			margin-bottom: $size__vertical-spacing-unit;
 			a {
 				&:after {
 					content: '';
@@ -624,7 +624,7 @@
 		background-color: $color__text-main;
 		border: 0;
 		height: 3px;
-		margin: #{2 * $size__vertical-spacing-unit} auto;
+		margin: $size__vertical-spacing-unit auto;
 		max-width: 10rem;
 
 		&.is-style-wide {

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

@@ -3586,7 +3586,7 @@ body.page .main-navigation {
 .entry .entry-content .wp-block-latest-posts.is-grid li {
   border-top: 2px solid #ccc;
   padding-top: 1rem;
-  margin-bottom: 64px;
+  margin-bottom: 32px;
 }
 
 .entry .entry-content .wp-block-latest-posts.is-grid li a:after {
@@ -3959,7 +3959,7 @@ body.page .main-navigation {
   background-color: #3c2323;
   border: 0;
   height: 3px;
-  margin: 64px auto;
+  margin: 32px auto;
   max-width: 10rem;
   /* Remove duplicate rule-line when a separator
 		 * is followed by an H1, or H2 */

+ 2 - 2
friendly-business/style.css

@@ -3598,7 +3598,7 @@ body.page .main-navigation {
 .entry .entry-content .wp-block-latest-posts.is-grid li {
   border-top: 2px solid #ccc;
   padding-top: 1rem;
-  margin-bottom: 64px;
+  margin-bottom: 32px;
 }
 
 .entry .entry-content .wp-block-latest-posts.is-grid li a:after {
@@ -3971,7 +3971,7 @@ body.page .main-navigation {
   background-color: #3c2323;
   border: 0;
   height: 3px;
-  margin: 64px auto;
+  margin: 32px auto;
   max-width: 10rem;
   /* Remove duplicate rule-line when a separator
 		 * is followed by an H1, or H2 */