mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
chat: hoon eval preserves whitespace
This commit is contained in:
parent
a580f1fba4
commit
b97f94a56a
@ -19,6 +19,7 @@ export default class CodeContent extends Component {
|
||||
overflow='auto'
|
||||
maxHeight='10em'
|
||||
maxWidth='100%'
|
||||
style={{ whiteSpace: 'pre' }}
|
||||
backgroundColor='scales.black10'
|
||||
>
|
||||
{content.code.output[0].join('\n')}
|
||||
@ -36,6 +37,7 @@ export default class CodeContent extends Component {
|
||||
overflow='auto'
|
||||
maxHeight='10em'
|
||||
maxWidth='100%'
|
||||
style={{ whiteSpace: 'pre' }}
|
||||
>
|
||||
{content.code.expression}
|
||||
</Text>
|
||||
|
Loading…
Reference in New Issue
Block a user