From 53b8eb3a104c991a246db32c66a19e702594c901 Mon Sep 17 00:00:00 2001 From: Dominik Guzei Date: Wed, 10 Jul 2019 14:43:24 +0200 Subject: basic integration of todos as static sidebar --- src/components/layout/AppLayout.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/components/layout') diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index 499bc097a..797db6eb5 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js @@ -17,6 +17,7 @@ import { isWindows } from '../../environment'; import WorkspaceSwitchingIndicator from '../../features/workspaces/components/WorkspaceSwitchingIndicator'; import { workspaceStore } from '../../features/workspaces'; import AppUpdateInfoBar from '../AppUpdateInfoBar'; +import TodosWebview from '../../features/todos/components/TodosWebview'; function createMarkup(HTMLString) { return { __html: HTMLString }; @@ -39,7 +40,8 @@ const messages = defineMessages({ const styles = theme => ({ appContent: { - width: `calc(100% + ${theme.workspaces.drawer.width}px)`, + // width: `calc(100% + ${theme.workspaces.drawer.width}px)`, + width: '100%', transition: 'transform 0.5s ease', transform() { return workspaceStore.isWorkspaceDrawerOpen ? 'translateX(0)' : `translateX(-${theme.workspaces.drawer.width}px)`; @@ -50,6 +52,7 @@ const styles = theme => ({ @injectSheet(styles) @observer class AppLayout extends Component { static propTypes = { + authToken: PropTypes.string.isRequired, classes: PropTypes.object.isRequired, isFullScreen: PropTypes.bool.isRequired, sidebar: PropTypes.element.isRequired, @@ -83,6 +86,7 @@ class AppLayout extends Component { render() { const { + authToken, classes, isFullScreen, workspacesDrawer, @@ -173,6 +177,7 @@ class AppLayout extends Component { {children} + -- cgit v1.2.3-70-g09d2