Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Fix padding and alignment elements on quiz session header #197

Merged
merged 2 commits into from
Mar 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe remove this in the future


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}`}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ltgm

</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
Loading