浏览代码

Varia: fix border width issue in separator block.

Allan Cole 5 年之前
父节点
当前提交
afbea979dc
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 4 0
      varia/sass/blocks/separator/_style.scss
  2. 4 0
      varia/style.css

+ 4 - 0
varia/sass/blocks/separator/_style.scss

@@ -14,6 +14,10 @@ hr {
 		/**
 		 * Block Options
 		 */
+		&.is-style-wide {
+			border-bottom-width: #{map-deep-get($config-separator, "height")}
+		}
+
 		&.is-style-wide {
 			@extend %responsive-aligndefault;
 		}

+ 4 - 0
varia/style.css

@@ -2282,6 +2282,10 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
 	max-width: 96px;
 }
 
+hr.wp-block-separator.is-style-wide {
+	border-bottom-width: 2px;
+}
+
 hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
 	background-color: transparent !important;
 }