diff --git a/app/components/Layout/Layout.js b/app/components/Layout/Layout.js index e10d761d..62579cf5 100644 --- a/app/components/Layout/Layout.js +++ b/app/components/Layout/Layout.js @@ -125,7 +125,7 @@ const Container = styled(Flex)` const Content = styled(Flex)` margin: 0; - transition: margin-left 200ms ease-in-out; + transition: margin-left 100ms ease-out; @media print { margin: 0; diff --git a/app/components/Sidebar/Sidebar.js b/app/components/Sidebar/Sidebar.js index 156e6287..24466ef6 100644 --- a/app/components/Sidebar/Sidebar.js +++ b/app/components/Sidebar/Sidebar.js @@ -8,16 +8,12 @@ import { observer, inject } from 'mobx-react'; import { CloseIcon, MenuIcon } from 'outline-icons'; import Flex from 'shared/components/Flex'; -import AuthStore from 'stores/AuthStore'; -import DocumentsStore from 'stores/DocumentsStore'; import UiStore from 'stores/UiStore'; type Props = { children: React.Node, history: Object, location: Location, - auth: AuthStore, - documents: DocumentsStore, ui: UiStore, }; @@ -61,7 +57,7 @@ const Container = styled(Flex)` left: ${props => (props.editMode ? `-${props.theme.sidebarWidth}` : 0)}; width: 100%; background: ${props => props.theme.smoke}; - transition: left 200ms ease-in-out; + transition: left 100ms ease-out; margin-left: ${props => (props.mobileSidebarVisible ? 0 : '-100%')}; z-index: 1; diff --git a/package.json b/package.json index 8a9c2954..d1639a95 100644 --- a/package.json +++ b/package.json @@ -158,7 +158,7 @@ "react-waypoint": "^7.3.1", "redis": "^2.6.2", "redis-lock": "^0.1.0", - "rich-markdown-editor": "1.3.3", + "rich-markdown-editor": "1.4.0-1", "safestart": "1.1.0", "sequelize": "4.28.6", "sequelize-cli": "^2.7.0", diff --git a/yarn.lock b/yarn.lock index cab1b13c..a8da04ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8859,9 +8859,9 @@ retry-axios@0.3.2, retry-axios@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/retry-axios/-/retry-axios-0.3.2.tgz#5757c80f585b4cc4c4986aa2ffd47a60c6d35e13" -rich-markdown-editor@1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-1.3.3.tgz#e10b718a6aafb2f3520f01c1de124314119c6154" +rich-markdown-editor@1.4.0-1: + version "1.4.0-1" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-1.4.0-1.tgz#42238c2acfd4bd0a86a2cb233b3931ab47d76f70" dependencies: "@tommoor/slate-drop-or-paste-images" "^0.8.1" boundless-arrow-key-navigation "^1.1.0"