mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/ui-0.5.0' into 'test'
fix: timeline content add monospace text style See merge request opensource/answer!277
This commit is contained in:
commit
abef724e8e
|
@ -89,7 +89,7 @@ const Index: FC<Props> = ({ objectType, newData, oldData, className = '' }) => {
|
|||
dangerouslySetInnerHTML={{
|
||||
__html: diffText(newData.original_text, oldData?.original_text),
|
||||
}}
|
||||
className="pre-line"
|
||||
className="pre-line text-break font-monospace"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -281,5 +281,5 @@ a {
|
|||
}
|
||||
|
||||
.pre-line {
|
||||
white-space: pre-line;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue