Skip to content

Commit

Permalink
fix: make scrollbar appear just if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
davidballester committed Oct 13, 2019
1 parent c29890e commit ca11cd6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const styles = (theme) => ({
marginBottom: theme.spacing(1),
},
content: {
overflow: 'scroll',
overflow: 'auto',
maxHeight: '60vh',
minHeight: '200px',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const styles = (theme) => ({
marginBottom: theme.spacing(1),
},
content: {
overflow: 'scroll',
overflow: 'auto',
maxHeight: '60vh',
minHeight: '200px',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const styles = (theme) => ({
marginBottom: theme.spacing(1),
},
content: {
overflow: 'scroll',
overflow: 'auto',
maxHeight: '60vh',
minHeight: '200px',
},
Expand Down
2 changes: 1 addition & 1 deletion src/scenes/graph/components/groups/groups.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const styles = {
},
content: {
maxHeight: '30vh',
overflow: 'scroll',
overflow: 'auto',
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const styles = (theme) => ({
maxWidth: 600,
height: '60vh',
maxHeight: 600,
overflow: 'scroll',
overflow: 'auto',
padding: theme.spacing(3),
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/scenes/graph/graph.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const styles = (theme) => ({
padding: theme.spacing(2),
},
leftPanelContent: {
overflow: 'scroll',
overflow: 'auto',
pointerEvents: 'auto',
width: '100%',
maxHeight: '100%',
Expand Down

0 comments on commit ca11cd6

Please sign in to comment.