fix(client): left align modal content, large modal size (#55759)

pull/55774/head
Lasse Jørgensen 2024-08-07 05:40:33 +02:00 committed by GitHub
parent a480ebdeb8
commit d19cd8bc4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -198,13 +198,13 @@ function TimelineInner({
</Table>
)}
{id && (
<Modal onClose={closeSolution} open={solutionOpen}>
<Modal onClose={closeSolution} open={solutionOpen} size='large'>
<Modal.Header showCloseButton={true} closeButtonClassNames='close'>
{`${username}'s Solution to ${
idToNameMap.get(id)?.challengeTitle ?? ''
}`}
</Modal.Header>
<Modal.Body>
<Modal.Body alignment='left'>
<SolutionViewer
challengeFiles={challengeData.challengeFiles}
solution={challengeData.solution ?? ''}