Browse Source

Fix font size for content and button

Imran Hossain 2 năm trước cách đây
mục cha
commit
3b4ea083fb
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      course/styles/gold.json

+ 4 - 2
course/styles/gold.json

@@ -233,7 +233,8 @@
 			"core/paragraph": {
 				"typography": {
 					"lineHeight": "1.6",
-					"letterSpacing": "-0.004em"
+					"letterSpacing": "-0.004em",
+					"fontSize": "clamp(var(--wp--preset--font-size--small), 0.821rem + 0.476vw, var(--wp--custom--typography--font-sizes--normal))"
 				}
 			},
 			"sensei-lms/course-theme-lesson-module": {
@@ -305,7 +306,8 @@
 			"button": {
 				"typography": {
 					"fontWeight": "700",
-					"letterSpacing": "0.001em"
+					"letterSpacing": "0.001em",
+					"fontSize": "var(--wp--preset--font-size--x-small)"
 				}
 			}
 		},