File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/graphql-playground-react/src/components/Playground/DocExplorer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const ColumnDoc = ({
1414 width = columnWidth ,
1515} : Props ) => {
1616 return (
17- < Column style = { { width } } overflow = { overflow } >
17+ < Column style = { { width } } verticalScroll = { overflow } >
1818 { children }
1919 </ Column >
2020 )
@@ -23,7 +23,7 @@ const ColumnDoc = ({
2323export default ColumnDoc
2424
2525interface ColumnProps {
26- overflow : boolean
26+ verticalScroll : boolean
2727}
2828
2929const Column = styled < ColumnProps , 'div' > ( 'div' ) `
@@ -32,6 +32,6 @@ const Column = styled<ColumnProps, 'div'>('div')`
3232 flex-flow: column;
3333 padding-bottom: 20px;
3434 border-right: 1px solid ${ p => p . theme . colours . black10 } ;
35- overflow-x: ${ p => ( p . overflow ? 'hidden' : 'auto' ) }
36- overflow-y: ${ p => ( p . overflow ? 'scroll' : 'auto' ) }
35+ overflow-x: ${ p => ( p . verticalScroll ? 'hidden' : 'auto' ) }
36+ overflow-y: ${ p => ( p . verticalScroll ? 'scroll' : 'auto' ) }
3737`
You can’t perform that action at this time.
0 commit comments