Browse Source

seedlet equal margins

Maggie 3 years ago
parent
commit
d738ee59b7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      seedlet-blocks/assets/theme.css
  2. 1 1
      seedlet-blocks/sass/blocks/_post-comments.scss

+ 1 - 1
seedlet-blocks/assets/theme.css

@@ -197,7 +197,7 @@ is passed all of the block attributes on the block definition in the template. *
 }
 
 .wp-block-post-comments .commentlist > li {
-	margin-bottom: var(--wp--custom--margin--vertical);
+	margin-bottom: calc(1.5 * var( --wp--style--block-gap ));
 }
 
 .wp-block-post-comments .commentlist > li:not(first-child) {

+ 1 - 1
seedlet-blocks/sass/blocks/_post-comments.scss

@@ -24,7 +24,7 @@
 	.commentlist {
 
 		> li {
-			margin-bottom: var(--wp--custom--margin--vertical);
+			margin-bottom: calc(1.5 * var( --wp--style--block-gap ));
 			&:not(first-child) {
 				border-bottom: 1px solid var(--wp--custom--form--border--color);
 			}