Преглед изворни кода

Redhill: Update child-theme separator config variables.

Allan Cole пре 6 година
родитељ
комит
c2ec33e0aa
3 измењених фајлова са 10 додато и 1 уклоњено
  1. 2 1
      redhill/sass/_config-child-theme-deep.scss
  2. 4 0
      redhill/style-rtl.css
  3. 4 0
      redhill/style.css

+ 2 - 1
redhill/sass/_config-child-theme-deep.scss

@@ -275,7 +275,8 @@ $config-quote: (
  */
 
 $config-separator: (
-	"height": #{0.25 * $baseline-unit},
+	"height": #{0.125 * map-deep-get($config-global, "spacing", "unit")},
+	"width": #{6 * map-deep-get($config-global, "spacing", "horizontal")},
 );
 
 /**

+ 4 - 0
redhill/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 {
 	border-bottom-color: #DDDDDD;
 	border-bottom-width: 2px;

+ 4 - 0
redhill/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 {
 	border-bottom-color: #DDDDDD;
 	border-bottom-width: 2px;