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 = ({
14
14
width = columnWidth ,
15
15
} : Props ) => {
16
16
return (
17
- < Column style = { { width } } overflow = { overflow } >
17
+ < Column style = { { width } } verticalScroll = { overflow } >
18
18
{ children }
19
19
</ Column >
20
20
)
@@ -23,7 +23,7 @@ const ColumnDoc = ({
23
23
export default ColumnDoc
24
24
25
25
interface ColumnProps {
26
- overflow : boolean
26
+ verticalScroll : boolean
27
27
}
28
28
29
29
const Column = styled < ColumnProps , 'div' > ( 'div' ) `
@@ -32,6 +32,6 @@ const Column = styled<ColumnProps, 'div'>('div')`
32
32
flex-flow: column;
33
33
padding-bottom: 20px;
34
34
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' ) }
37
37
`
You can’t perform that action at this time.
0 commit comments