Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Quiz footer button styles fix #7317

Merged
merged 11 commits into from
Sep 5, 2023
3 changes: 3 additions & 0 deletions course/styles/blue.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--body)"
}
},
"sensei-lms/quiz-actions": {
"css": "& .sensei-quiz-actions-secondary .sensei-quiz-action .quiz-submit { font-size: var(--wp--custom--typography--font-sizes--normal); }"
}
},
"elements": {
Expand Down
5 changes: 4 additions & 1 deletion course/styles/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"fontSizes": {
"normal": "clamp(1.125rem, 1.036rem + 0.238vw, 1.25rem)",
"button": "clamp(0.875rem, 0.875rem + ((1vw - 0.48rem) * 0.481), 1.125rem)",
"fixed": "clamp(1.125rem, 1.125rem, 1.125rem)"
"fixed": "1.125rem"
}
}
},
Expand Down Expand Up @@ -253,6 +253,9 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading)"
}
},
"sensei-lms/quiz-actions": {
"css": "& .sensei-quiz-actions-secondary .sensei-quiz-action .quiz-submit { font-size: var(--wp--custom--typography--font-sizes--fixed); }"
}
},
"elements": {
Expand Down
3 changes: 3 additions & 0 deletions course/styles/gold.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@
"fontWeight": "700",
"fontFamily": "var(--wp--preset--font-family--heading)"
}
},
"sensei-lms/quiz-actions": {
"css": "& .sensei-quiz-actions-secondary .sensei-quiz-action .quiz-submit { font-size: var(--wp--custom--typography--font-sizes--normal); }"
}
},
"elements": {
Expand Down
3 changes: 3 additions & 0 deletions course/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,9 @@
"typography": {
"fontFamily": "var(--wp--preset--font-family--system)"
}
},
"sensei-lms/quiz-actions": {
"css": "& .sensei-quiz-actions-secondary .sensei-quiz-action .quiz-submit { font-size: var(--wp--custom--typography--font-sizes--normal); }"
}
},
"color": {
Expand Down