Skip to content

Commit

Permalink
Update ReactJson styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sujinleeme committed Jan 1, 2019
1 parent 02d8e83 commit d534988
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions js/repl/ASTPanel.js
Expand Up @@ -136,12 +136,7 @@ export default class ASTPanel extends React.Component<Props, State> {
)}
<ReactJson
src={src}
style={{
overflowY: "scroll",
overflow: "show",
width: "100%",
height: "100%",
}}
style={styles.reactJson}
sortKeys={true}
enableClipboard={false}
displayObjectSize={true}
Expand Down Expand Up @@ -181,4 +176,10 @@ const styles = {
opacity: 0.5,
},
}),
reactJson: {
overflowY: "scroll",
overflow: "show",
width: "100%",
height: "100%",
},
};

0 comments on commit d534988

Please sign in to comment.