瀏覽代碼

seedlet equal margins

Maggie 3 年之前
父節點
當前提交
d738ee59b7
共有 2 個文件被更改,包括 2 次插入2 次删除
  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);
 			}