소스 검색

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 년 전
부모
커밋
0d25520809
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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)"