diff --git a/src/react/DebugPanel.js b/src/react/DebugPanel.js
index c87fff6c..8827db26 100644
--- a/src/react/DebugPanel.js
+++ b/src/react/DebugPanel.js
@@ -12,17 +12,15 @@ export function getDefaultStyle(props) {
return {
position: 'fixed',
zIndex: 999,
- fontSize: 17,
overflow: 'auto',
- opacity: 0.92,
- background: 'black',
+ background: 'rgb(27, 27, 27)',
color: 'white',
left: left ? 0 : undefined,
right: right ? 0 : undefined,
top: top ? 0 : undefined,
bottom: bottom ? 0 : undefined,
maxHeight: (bottom && top) ? '100%' : '20%',
- maxWidth: (left && right) ? '100%' : '20%',
+ width: (left && right) ? '100%' : '25%',
wordWrap: 'break-word'
};
}
diff --git a/src/react/LogMonitor.js b/src/react/LogMonitor.js
index 99691c9b..f02395ef 100644
--- a/src/react/LogMonitor.js
+++ b/src/react/LogMonitor.js
@@ -120,50 +120,66 @@ export default class LogMonitor {
-
-
-
Press Ctrl+H to hide.
+
+
+ {computedStates.length > 1 &&
+
+ }
+ {Object.keys(skippedActions).some(key => skippedActions[key]) &&
+
+ }
+ {computedStates.length > 1 &&
+
+ }
-
{elements}
-
- {computedStates.length > 1 &&
-
- Rollback
-
- }
- {Object.keys(skippedActions).some(key => skippedActions[key]) &&
-
- {' • '}
-
- Sweep
-
-
- }
- {computedStates.length > 1 &&
-
-
- {' • '}
-
-
- Commit
-
-
- }
-
);
}
diff --git a/src/react/LogMonitorEntry.js b/src/react/LogMonitorEntry.js
index 25b4cc83..c110b3a7 100644
--- a/src/react/LogMonitorEntry.js
+++ b/src/react/LogMonitorEntry.js
@@ -49,7 +49,7 @@ export default class LogMonitorEntry {
let errorText = error;
if (!errorText) {
try {
- return JSON.stringify(this.props.select(state));
+ return JSON.stringify(this.props.select(state), null, 2);
} catch (err) {
errorText = 'Error selecting state.';
}
@@ -77,14 +77,14 @@ export default class LogMonitorEntry {
return (
);
}