From d79718decc6b0d35821b56ce5047d0707ba3464a Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Sat, 7 Sep 2024 16:11:53 +0700 Subject: [PATCH] Fix decimal score alignment in submission details --- .../SubmissionDetails/Programming/SubmissionDetails.jsx | 2 +- .../SubmissionDetails/Programming/SubmissionDetails.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx index 87761bb97..8421356df 100644 --- a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx +++ b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx @@ -130,7 +130,7 @@ export function SubmissionDetails({ return ( <> {integer} - {decimal} + {decimal} ); }; diff --git a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss index 9ee0c7bf5..ec407f277 100644 --- a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss +++ b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss @@ -118,4 +118,10 @@ font-weight: normal; text-align: right; } + + .subtask-score-decimal { + display: inline-block; + font-weight: normal; + text-align: left; + } }