aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/AppLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/layout/AppLayout.js')
-rw-r--r--src/components/layout/AppLayout.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js
index 284a2523a..4e897e623 100644
--- a/src/components/layout/AppLayout.js
+++ b/src/components/layout/AppLayout.js
@@ -51,10 +51,10 @@ const messages = defineMessages({
51 51
52const styles = theme => ({ 52const styles = theme => ({
53 appContent: { 53 appContent: {
54 width: `calc(100% + ${theme.workspaceDrawerWidth})`, 54 width: `calc(100% + ${theme.workspaceDrawerWidth}px)`,
55 transition: 'transform 0.5s ease', 55 transition: 'transform 0.5s ease',
56 transform() { 56 transform() {
57 return workspacesState.isWorkspaceDrawerOpen ? 'translateX(0)' : 'translateX(-220px)'; 57 return workspacesState.isWorkspaceDrawerOpen ? 'translateX(0)' : `translateX(-${theme.workspaceDrawerWidth}px)`;
58 }, 58 },
59 }, 59 },
60}); 60});