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