Browse Source

Fix font size for content and button

Imran Hossain 2 years ago
parent
commit
3b4ea083fb
1 changed files with 4 additions and 2 deletions
  1. 4 2
      course/styles/gold.json

+ 4 - 2
course/styles/gold.json

@@ -233,7 +233,8 @@
 			"core/paragraph": {
 			"core/paragraph": {
 				"typography": {
 				"typography": {
 					"lineHeight": "1.6",
 					"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": {
 			"sensei-lms/course-theme-lesson-module": {
@@ -305,7 +306,8 @@
 			"button": {
 			"button": {
 				"typography": {
 				"typography": {
 					"fontWeight": "700",
 					"fontWeight": "700",
-					"letterSpacing": "0.001em"
+					"letterSpacing": "0.001em",
+					"fontSize": "var(--wp--preset--font-size--x-small)"
 				}
 				}
 			}
 			}
 		},
 		},