From 717e26a7a9d86b962b6892296abf59f2d71c1bee Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 25 Sep 2018 22:09:01 -0700 Subject: [PATCH] Fixes #778 --- app/scenes/Document/Document.js | 3 ++- package.json | 2 +- yarn.lock | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/scenes/Document/Document.js b/app/scenes/Document/Document.js index 9421f0f53..2a2c7f111 100644 --- a/app/scenes/Document/Document.js +++ b/app/scenes/Document/Document.js @@ -365,9 +365,10 @@ const MaxWidth = styled(Flex)` height: 100%; ${breakpoint('tablet')` - padding: 0; + padding: 0 24px; margin: 12px auto; max-width: 46em; + box-sizing: content-box; `}; `; diff --git a/package.json b/package.json index 6819d2e07..54f449f51 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": "5.0.2", + "rich-markdown-editor": "5.0.4", "safestart": "1.1.0", "sequelize": "4.28.6", "sequelize-cli": "^2.7.0", diff --git a/yarn.lock b/yarn.lock index 3f99326cc..948712e43 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8858,9 +8858,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@5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-5.0.2.tgz#3df8323c241cc9c7aee213dec89b3f68882452ae" +rich-markdown-editor@5.0.4: + version "5.0.4" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-5.0.4.tgz#0ae4624b95ec836486712ffda17090422fdc5e90" dependencies: "@tommoor/slate-drop-or-paste-images" "^0.8.1" babel-plugin-transform-async-to-generator "^6.24.1"