diff --git a/src/components/Card.tsx b/src/components/Card.tsx index 2559642..e16d4d4 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -243,13 +243,13 @@ const StepCard = ({
{leftHeaderChildren} -
+

{headerTitleChildren} {formattedQuestionNumber} {showTotalQuestions ?  / {numberOfQuestions} : null} | ID: {questionId} -

+
{availablePoints || rightHeaderChildren ?
{availablePoints &&
{availablePoints} Points
} diff --git a/src/components/__snapshots__/Card.spec.tsx.snap b/src/components/__snapshots__/Card.spec.tsx.snap index 6c640be..c2731f0 100644 --- a/src/components/__snapshots__/Card.spec.tsx.snap +++ b/src/components/__snapshots__/Card.spec.tsx.snap @@ -11,10 +11,8 @@ exports[`StepCard matches snapshot 1`] = ` className="sc-dkzDqf hbFgnH" >
-
Question 1 @@ -29,7 +27,7 @@ exports[`StepCard matches snapshot 1`] = ` > ID: -
+
-
Questions 1 - 3 @@ -84,7 +80,7 @@ exports[`StepCard matches snapshot with more than one question 1`] = ` > ID: -
+
-
Question 1 @@ -135,7 +129,7 @@ exports[`TaskStepCard can optionally provide task 1`] = ` ID: 1234@1 -
+
-
Question 1 @@ -176,7 +168,7 @@ exports[`TaskStepCard can optionally provide type 1`] = ` ID: 1234@1 -
+
-
Question 1 @@ -217,7 +207,7 @@ exports[`TaskStepCard matches snapshot 1`] = ` ID: 1234@1 -
+
-
Question 1 @@ -40,7 +38,7 @@ exports[`Exercise using step data matches snapshot 1`] = ` ID: 1234@4 -
+
-
Question 1 @@ -227,7 +223,7 @@ exports[`Exercise with question state data matches snapshot 1`] = ` ID: 1234@5 -
+
-
Question 1 @@ -468,7 +462,7 @@ exports[`Exercise with question state data renders header icons with multiple ch ID: 1234@5 -
+
-
Question 1 @@ -795,7 +787,7 @@ exports[`Exercise with question state data renders header icons with two-step ex ID: 1234@5 -
+
-
Question 1 @@ -1108,7 +1098,7 @@ exports[`Exercise with question state data shows a detailed solution 1`] = ` ID: 1234@5 -
+