Skip to content

Commit 357ae96

Browse files
authored
Improve the add note (#8375)
* add note format * add note format
1 parent 997933e commit 357ae96

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: ui/css/perf.css

+4
Original file line numberDiff line numberDiff line change
@@ -693,3 +693,7 @@ li.pagination-active.active > button {
693693
.tags-and-options-td {
694694
padding: 0.75rem 0px 0px 0px !important;
695695
}
696+
697+
.multiline-text {
698+
white-space: pre-line;
699+
}

Diff for: ui/shared/TruncatedText.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class TruncatedText extends React.Component {
1818
<React.Fragment>
1919
<p className={showMoreResults ? '' : 'text-truncate'}>
2020
{title && <span className="font-weight-bold">{title}</span>}
21-
{text}
21+
<span className="multiline-text">{text}</span>
2222
</p>
2323
{text.length > maxLength && (
2424
<Button

0 commit comments

Comments
 (0)