Skip to content

Commit

Permalink
fix(client): make sure submission timestamp is not wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Oct 14, 2023
1 parent 58a55fe commit a04c866
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ export function SubmissionDetails({
)}
<p>
{grading && <GradingVerdictTag grading={grading} />} {separator} <UserRef profile={profile} />
{separator} {getGradingLanguageName(gradingLanguage)} {separator} <FormattedDate value={time} showSeconds />
{separator} {getGradingLanguageName(gradingLanguage)}
{separator}{' '}
<span className="general-info__time">
<FormattedDate value={time} showSeconds />
</span>
</p>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
margin-bottom: 25px;
}

.general-info__time {
white-space: nowrap;
line-height: 24px;
}

.compilation-output {
margin-top: 10px;
}
Expand Down

0 comments on commit a04c866

Please sign in to comment.