Browse Source

Removed block-level margin styles from all themes (#4698)

Jason Crist 3 years ago
parent
commit
d0e89e8dac
6 changed files with 28 additions and 16 deletions
  1. 0 8
      blockbase/theme.json
  2. 7 0
      geologist/theme.json
  3. 7 0
      mayland-blocks/theme.json
  4. 0 8
      quadrat/theme.json
  5. 7 0
      seedlet-blocks/theme.json
  6. 7 0
      skatepark/theme.json

+ 0 - 8
blockbase/theme.json

@@ -404,14 +404,6 @@
 					}
 				}
 			},
-			"core/group": {
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--custom--gap--vertical)",
-						"bottom": "var(--wp--custom--gap--vertical)"
-					}
-				}
-			},
 			"core/navigation": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--normal)"

+ 7 - 0
geologist/theme.json

@@ -433,6 +433,13 @@
 					"background": "var(--wp--custom--color--tertiary)"
 				}
 			},
+			"core/gallery": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--custom--gap--vertical)"
+					}
+				}
+			},
 			"core/navigation": {
 				"typography": {
 					"fontSize": "18px"

+ 7 - 0
mayland-blocks/theme.json

@@ -426,6 +426,13 @@
 					"fontFamily": "monospace"
 				}
 			},
+			"core/gallery": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--custom--gap--vertical)"
+					}
+				}
+			},
 			"core/navigation": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--small)"

+ 0 - 8
quadrat/theme.json

@@ -466,14 +466,6 @@
 					}
 				}
 			},
-			"core/group": {
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--custom--gap--vertical)",
-						"bottom": "var(--wp--custom--gap--vertical)"
-					}
-				}
-			},
 			"core/navigation": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--normal)"

+ 7 - 0
seedlet-blocks/theme.json

@@ -455,6 +455,13 @@
 					"fontFamily": "monospace"
 				}
 			},
+			"core/gallery": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--custom--gap--vertical)"
+					}
+				}
+			},
 			"core/navigation": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--normal)"

+ 7 - 0
skatepark/theme.json

@@ -454,6 +454,13 @@
 					"fontFamily": "monospace"
 				}
 			},
+			"core/gallery": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--custom--gap--vertical)"
+					}
+				}
+			},
 			"core/navigation": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--normal)",