From e2d4cd8592728903cef7c40aa95ac52607473e89 Mon Sep 17 00:00:00 2001 From: timsuchanek Date: Wed, 27 Sep 2017 12:48:34 +0200 Subject: [PATCH] rm not needed scrollbar --- .../src/components/Playground/DocExplorer/GraphDocs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graphql-playground/src/components/Playground/DocExplorer/GraphDocs.tsx b/packages/graphql-playground/src/components/Playground/DocExplorer/GraphDocs.tsx index 4e87a117e..f612491b1 100644 --- a/packages/graphql-playground/src/components/Playground/DocExplorer/GraphDocs.tsx +++ b/packages/graphql-playground/src/components/Playground/DocExplorer/GraphDocs.tsx @@ -85,7 +85,7 @@ class GraphDocs extends React.Component< stack => this.state.widthMap[stack.field.path] || columnWidth, ) - return [rootWidth].concat(stackWidths).reduce((acc, curr) => acc + curr, 0) + return [rootWidth].concat(stackWidths).reduce((acc, curr) => acc + curr, 2) } componentDidMount() {