mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
webdojo: preserve whitespace in output
These aren't <pre>, so need explicit styling to preserve leading, trailing, and "gratuitous" whitespace.
This commit is contained in:
parent
c3991676c2
commit
41940b56fd
@ -15,7 +15,7 @@ export class History extends Component {
|
||||
{this.props.commandLog.map((text, index) => {
|
||||
return (
|
||||
<p className="mono" key={index}
|
||||
style={{ overflowWrap: 'break-word' }}
|
||||
style={{ overflowWrap: 'break-word', whiteSpace: 'pre' }}
|
||||
>
|
||||
{text}
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user