Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
schemas: show vertical scrollbar if needed (#427)
Browse files Browse the repository at this point in the history
Fixes #426
  • Loading branch information
n-riesco authored Apr 28, 2018
1 parent 297e7dc commit 010f96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Settings/Preview/TableTree.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class TableTree extends Component {
const labelNode = <span className="node">{label}</span>;

return (
<div style={{padding: '5px 0 0 10px'}}>
<div style={{padding: '5px 0 0 10px', maxHeight: 650, overflowY: 'auto'}}>
<TreeView key={label} nodeLabel={labelNode} defaultCollapsed={false}>{
Object.getOwnPropertyNames(treeSchema).sort().map(tableName => {
const tableSchema = treeSchema[tableName];
Expand Down

0 comments on commit 010f96c

Please sign in to comment.