Playground: show sidebar by default (#10204)
Show sidebar by default. Hide if window width < height (likely mobile)
This commit is contained in:
1 parent
c4b7b3f98b
commit
62561039ac
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user