Skip to content

Commit 44ec453

Browse files
davidrfhuv1k
authored andcommitted
fix overflow docs in electron app (#886)
1 parent 8355e0a commit 44ec453

File tree

1 file changed

+2
-1
lines changed
  • packages/graphql-playground-react/src/components/Playground/DocExplorer

1 file changed

+2
-1
lines changed

packages/graphql-playground-react/src/components/Playground/DocExplorer/ColumnDoc.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +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: ${p => (p.overflow ? 'hidden scroll' : 'auto auto')};
35+
overflow-x: ${p => (p.overflow ? 'hidden' : 'auto')}
36+
overflow-y: ${p => (p.overflow ? 'scroll' : 'auto')}
3637
`

0 commit comments

Comments
 (0)