Sfoglia il codice sorgente

Gallery: Add margins to the gallery block using theme.json (#4631)

* Gallery: Add margins to the gallery block using theme.json

* Remove unused code
Ben Dwyer 3 anni fa
parent
commit
0d25520809
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      blockbase/theme.json

+ 7 - 0
blockbase/theme.json

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