Sfoglia il codice sorgente

Varia: fix border width issue in separator block.

Allan Cole 5 anni fa
parent
commit
afbea979dc
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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
 		 * Block Options
 		 */
 		 */
+		&.is-style-wide {
+			border-bottom-width: #{map-deep-get($config-separator, "height")}
+		}
+
 		&.is-style-wide {
 		&.is-style-wide {
 			@extend %responsive-aligndefault;
 			@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;
 	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 {
 hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
 	background-color: transparent !important;
 	background-color: transparent !important;
 }
 }