From a04c866ef47fe8caeb583947661962a8a0f8f10c Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Sat, 14 Oct 2023 20:25:37 +0700 Subject: [PATCH] fix(client): make sure submission timestamp is not wrapped --- .../SubmissionDetails/Programming/SubmissionDetails.jsx | 6 +++++- .../SubmissionDetails/Programming/SubmissionDetails.scss | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx index d872ff9b9..117228192 100644 --- a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx +++ b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx @@ -78,7 +78,11 @@ export function SubmissionDetails({ )}

{grading && } {separator} - {separator} {getGradingLanguageName(gradingLanguage)} {separator} + {separator} {getGradingLanguageName(gradingLanguage)} + {separator}{' '} + + +

); diff --git a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss index 3ccdb1c8d..d3fd80c1b 100644 --- a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss +++ b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.scss @@ -40,6 +40,11 @@ margin-bottom: 25px; } + .general-info__time { + white-space: nowrap; + line-height: 24px; + } + .compilation-output { margin-top: 10px; }