Browse Source

Merge pull request #3506 from Automattic/add/bcb-code-padding

Added padding to code block styles
Jeff Ong 4 years ago
parent
commit
defb4b71ba
1 changed files with 8 additions and 0 deletions
  1. 8 0
      blank-canvas-blocks/experimental-theme.json

+ 8 - 0
blank-canvas-blocks/experimental-theme.json

@@ -345,6 +345,14 @@
 			}
 		},
 		"core/code": {
+			"spacing": {
+				"padding": {
+					"left": "var(--wp--custom--margin--horizontal)",
+					"right": "var(--wp--custom--margin--horizontal)",
+					"top": "var(--wp--custom--margin--vertical)",
+					"bottom": "var(--wp--custom--margin--vertical)"
+				}
+			},
 			"border": {
 				"radius": "0px",
 				"color": "#CCCCCC",