Skip to content

Commit

Permalink
Fix decimal score alignment in submission details
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Sep 7, 2024
1 parent 5aaafb6 commit d79718d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function SubmissionDetails({
return (
<>
<span className="subtask-score">{integer}</span>
<span className="subtask-score">{decimal}</span>
<span className="subtask-score-decimal">{decimal}</span>
</>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,10 @@
font-weight: normal;
text-align: right;
}

.subtask-score-decimal {
display: inline-block;
font-weight: normal;
text-align: left;
}
}

0 comments on commit d79718d

Please sign in to comment.