Skip to content

Commit

Permalink
Fix: Fix padding and alignment elements on quiz session header
Browse files Browse the repository at this point in the history
  • Loading branch information
raisondetre1207 committed Mar 15, 2024
1 parent ae2cfa3 commit d871cb8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export default function Header() {
{ volume: isMute ? 0 : volume / 100 }
);

console.log(metadata);

useEffect(() => {
setTime(question?.remainingTime);
}, [question]);
Expand Down Expand Up @@ -51,10 +53,10 @@ export default function Header() {
</div>
<div className="flex justify-center">
<div className="justify-center items-center">
<p className="text-white text-sm mb-2">
{metadata?.currentSetName}
<p className="text-white text-sm mb-2 text-center">
{`(${metadata?.currentSetIndex}/${metadata?.totalNumberOfSets}) ${metadata?.currentSetName}`}
</p>
<div className="flex-row flex bg-white py-2 rounded-md text-green_text flex-2 justify-center items-center">
<div className="flex-row flex bg-white py-2 px-4 rounded-md text-green_text flex-2 justify-center items-center">
<div className="text-base font-bold">
Question {metadata?.currentQuestionIndex}{" "}
</div>
Expand Down

0 comments on commit d871cb8

Please sign in to comment.