diff --git a/src/index.js b/src/index.js index 19a78e48a..01fabe032 100644 --- a/src/index.js +++ b/src/index.js @@ -39,7 +39,7 @@ function requireAuth(nextState, replace) { } render(( -
+
diff --git a/src/scenes/DocumentScene/DocumentScene.js b/src/scenes/DocumentScene/DocumentScene.js index 87562055c..83b8c6454 100644 --- a/src/scenes/DocumentScene/DocumentScene.js +++ b/src/scenes/DocumentScene/DocumentScene.js @@ -139,24 +139,29 @@ class DocumentScene extends React.Component { ) : ( - { this.store.isAtlas && sidebar && ( -
- -
+ { this.store.isAtlas && ( + + { sidebar && ( +
+ +
+ ) } +
+ +
+
) } - { this.store.isAtlas && () } { this.store.updatingContent ? ( diff --git a/src/scenes/DocumentScene/DocumentScene.scss b/src/scenes/DocumentScene/DocumentScene.scss index c5795c0d9..caea1ed9f 100644 --- a/src/scenes/DocumentScene/DocumentScene.scss +++ b/src/scenes/DocumentScene/DocumentScene.scss @@ -14,15 +14,24 @@ position: relative; } -.menuIcon { - position: absolute; - top: 22px; - left: 17px; - height: 28px; - opacity: 0.15; +.sidebarToggle { + display: flex; + position: relative; + width: 60px; cursor: pointer; + justify-content: center; &:hover { - opacity: 1; + background-color: #f5f5f5; + + .menuIcon { + opacity: 1; + } } } + +.menuIcon { + margin-top: 18px; + height: 28px; + opacity: 0.15; +}