Playground: show sidebar by default (#10204)

Show sidebar by default. Hide if window width < height (likely mobile)
This commit is contained in:
Georgii Dolzhykov authored and GitHub committed 2021-02-02 02:23:16 +02:00
1 parent c4b7b3f98b
commit 62561039ac
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ export default class extends React.Component {
constructor() {
super();
this.state = {
showSidebar: false,
showSidebar: window.innerWidth > window.innerHeight,
showAst: false,
showDoc: false,
showComments: false,