Поправлены стили для описания и комментариев в диалоге с подробностями
This commit is contained in:
parent
81c611ab9c
commit
09b984b6bf
2 changed files with 9 additions and 5 deletions
|
|
@ -24,4 +24,8 @@
|
|||
|
||||
.modalContent pre {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useEffect } from 'react';
|
||||
import React from 'react';
|
||||
import { RedmineTypes } from '../redmine-types';
|
||||
import { observer } from 'mobx-react-lite';
|
||||
import { Instance, types } from 'mobx-state-tree';
|
||||
|
|
@ -66,9 +66,9 @@ export const IssueDetailsDialog = observer((props: Props): JSX.Element => {
|
|||
<hr/>
|
||||
<div>
|
||||
<h2>Описание:</h2>
|
||||
<pre>
|
||||
<div className={Css.monospace}>
|
||||
{props.store.issue.description}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div>
|
||||
|
|
@ -103,9 +103,9 @@ export const Comment = (props: {data: RedmineTypes.Journal}): JSX.Element => {
|
|||
<>
|
||||
<h3>{props.data.user.name}:</h3>
|
||||
<div>
|
||||
<pre>
|
||||
<div className={Css.monospace}>
|
||||
{props.data.notes || '-'}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
</>
|
||||
|
|
|
|||
Loading…
Reference in a new issue