Problems: truncate long problem description

This commit is contained in:
Alexander Zobnin
2020-05-18 16:18:15 +03:00
parent 6e2f28670e
commit a34b72c2b6
2 changed files with 29 additions and 7 deletions

View File

@@ -160,9 +160,11 @@ export default class ProblemDetails extends PureComponent<ProblemDetailsProps, P
}
</div>
{problem.comments &&
<div className="problem-description">
<span className="description-label">Description:&nbsp;</span>
<span>{problem.comments}</span>
<div className="problem-description-row">
<div className="problem-description">
<span className="description-label">Description:&nbsp;</span>
<span>{problem.comments}</span>
</div>
</div>
}
{problem.tags && problem.tags.length > 0 &&