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

Blockbase: ReMove list block styles from sass (#3958)

Ben Dwyer пре 4 година
родитељ
комит
9fc6f82038

+ 0 - 1
blockbase/assets/ponyfill.css

@@ -334,7 +334,6 @@ input[type=checkbox] + label {
 
 
 ul,
 ul,
 ol {
 ol {
-	font-family: var(--wp--custom--list--typography--font-family);
 	padding-left: var(--wp--custom--list--spacing--padding--left);
 	padding-left: var(--wp--custom--list--spacing--padding--left);
 }
 }
 
 

+ 0 - 1
blockbase/sass/blocks/_list.scss

@@ -1,5 +1,4 @@
 ul,
 ul,
 ol {
 ol {
-	font-family: var(--wp--custom--list--typography--font-family);
 	padding-left: var(--wp--custom--list--spacing--padding--left);
 	padding-left: var(--wp--custom--list--spacing--padding--left);
 }
 }

+ 0 - 3
blockbase/theme.json

@@ -192,9 +192,6 @@
 				}
 				}
 			},
 			},
 			"list": {
 			"list": {
-				"typography": {
-					"fontFamily": "var(--wp--custom--body--typography--font-family)"
-				},
 				"spacing": {
 				"spacing": {
 					"padding": {
 					"padding": {
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"

+ 0 - 3
mayland-blocks/theme.json

@@ -200,9 +200,6 @@
 				}
 				}
 			},
 			},
 			"list": {
 			"list": {
-				"typography": {
-					"fontFamily": "var(--wp--custom--body--typography--font-family)"
-				},
 				"spacing": {
 				"spacing": {
 					"padding": {
 					"padding": {
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"

+ 0 - 3
quadrat/theme.json

@@ -209,9 +209,6 @@
 				}
 				}
 			},
 			},
 			"list": {
 			"list": {
-				"typography": {
-					"fontFamily": "var(--wp--custom--body--typography--font-family)"
-				},
 				"spacing": {
 				"spacing": {
 					"padding": {
 					"padding": {
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"

+ 2 - 0
seedlet-blocks/assets/theme.css

@@ -175,6 +175,8 @@
 	line-height: 30px;
 	line-height: 30px;
 }
 }
 
 
+/* NOTE: This can be removed when the rendering of the Navigation block, rendered with a Classic data source (by way of __unstableLocation), 
+is passed all of the block attributes on the block definition in the template. */
 .wp-block-navigation__container {
 .wp-block-navigation__container {
 	justify-content: center;
 	justify-content: center;
 }
 }

+ 0 - 3
seedlet-blocks/theme.json

@@ -233,9 +233,6 @@
 				}
 				}
 			},
 			},
 			"list": {
 			"list": {
-				"typography": {
-					"fontFamily": "var(--wp--custom--body--typography--font-family)"
-				},
 				"spacing": {
 				"spacing": {
 					"padding": {
 					"padding": {
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
 						"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"