diff --git a/src/react/JSONTree/JSONArrayNode.js b/src/react/JSONTree/JSONArrayNode.js index bbd21411..47077486 100644 --- a/src/react/JSONTree/JSONArrayNode.js +++ b/src/react/JSONTree/JSONArrayNode.js @@ -18,13 +18,13 @@ const styles = { display: 'inline-block' }, span: { - fontSize: 12, + fontSize: '0.85em', cursor: 'default' }, spanType: { marginLeft: 5, marginRight: 5, - fontSize: 16 + fontSize: '1em' } }; diff --git a/src/react/JSONTree/JSONObjectNode.js b/src/react/JSONTree/JSONObjectNode.js index 9ee33012..7f8f4c5d 100644 --- a/src/react/JSONTree/JSONObjectNode.js +++ b/src/react/JSONTree/JSONObjectNode.js @@ -18,13 +18,13 @@ const styles = { display: 'inline-block' }, span: { - fontSize: 12, + fontSize: '0.85em', cursor: 'default' }, spanType: { marginLeft: 5, marginRight: 5, - fontSize: 16 + fontSize: '1em' } };