Skip to content

Commit

Permalink
CHANGE so toolbar is hidden by default when DOCS_MODE
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Apr 16, 2020
1 parent 2022c8d commit d2a022e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/api/src/modules/layout.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { document } from 'global';
import { DOCS_MODE, document } from 'global';

import pick from 'lodash/pick';

import deepEqual from 'fast-deep-equal';
Expand Down Expand Up @@ -75,7 +76,7 @@ const defaultState: SubState = {
},
layout: {
initialActive: ActiveTabs.SIDEBAR,
isToolshown: true,
isToolshown: !DOCS_MODE,
isFullscreen: false,
showPanel: true,
showNav: true,
Expand Down

0 comments on commit d2a022e

Please sign in to comment.