瀏覽代碼

Rockfield: Update child-theme separator config variables.

Allan Cole 6 年之前
父節點
當前提交
b2e6d6f405
共有 3 個文件被更改,包括 9 次插入0 次删除
  1. 1 0
      rockfield/sass/_config-child-theme-deep.scss
  2. 4 0
      rockfield/style-rtl.css
  3. 4 0
      rockfield/style.css

+ 1 - 0
rockfield/sass/_config-child-theme-deep.scss

@@ -276,6 +276,7 @@ $config-quote: (
 
 
 $config-separator: (
 $config-separator: (
 	"height": 2px,
 	"height": 2px,
+	"width": #{6 * map-deep-get($config-global, "spacing", "horizontal")},
 );
 );
 
 
 /**
 /**

+ 4 - 0
rockfield/style-rtl.css

@@ -1889,6 +1889,10 @@ hr.wp-block-separator {
 		 */
 		 */
 }
 }
 
 
+hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
+	max-width: 96px;
+}
+
 hr.wp-block-separator.is-style-wide {
 hr.wp-block-separator.is-style-wide {
 	border-bottom-color: #E0E0E0;
 	border-bottom-color: #E0E0E0;
 	border-bottom-width: 2px;
 	border-bottom-width: 2px;

+ 4 - 0
rockfield/style.css

@@ -1889,6 +1889,10 @@ hr.wp-block-separator {
 		 */
 		 */
 }
 }
 
 
+hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
+	max-width: 96px;
+}
+
 hr.wp-block-separator.is-style-wide {
 hr.wp-block-separator.is-style-wide {
 	border-bottom-color: #E0E0E0;
 	border-bottom-color: #E0E0E0;
 	border-bottom-width: 2px;
 	border-bottom-width: 2px;