mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(dev): Pretty print deltas
This commit is contained in:
parent
b14d52b482
commit
b23c55d5b4
|
@ -13,7 +13,7 @@ class DeveloperBarLongPollItem extends React.Component
|
|||
|
||||
render: =>
|
||||
if @state.expanded
|
||||
payload = JSON.stringify(@props.item)
|
||||
payload = JSON.stringify(@props.item, null, 2)
|
||||
else
|
||||
payload = []
|
||||
|
||||
|
|
|
@ -170,6 +170,7 @@
|
|||
}
|
||||
|
||||
.payload {
|
||||
white-space: pre;
|
||||
color: burlywood;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue