소스 검색

Minor style tweaks for Assembler (#7989)

* Remove auto-applied padding on headings when color is applied.

* Adjust default column blockGap
Rich Tabor 11 달 전
부모
커밋
b7eaba26f0
2개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 0
      assembler/style.css
  2. 2 2
      assembler/theme.json

+ 5 - 0
assembler/style.css

@@ -26,6 +26,11 @@ blockquote {
 	text-wrap: balance;
 }
 
+/* Remove auto-applied padding on headings when color is applied.  */
+h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
+    padding: 0;
+}
+
 p {
 	text-wrap: pretty;
 }

+ 2 - 2
assembler/theme.json

@@ -834,8 +834,8 @@
             "core/columns": {
                 "spacing": {
                     "blockGap": {
-                        "left": "var(--wp--preset--spacing--50)",
-                        "top": "var(--wp--preset--spacing--50)"
+                        "left": "var(--wp--preset--spacing--40)",
+                        "top": "var(--wp--preset--spacing--30)"
                     }
                 }
             },