From cc61e2944c6f7a31ac8ea18bba89f9ce628851ec Mon Sep 17 00:00:00 2001 From: Raymond Zhou <56318341+rayzhou-bit@users.noreply.github.com> Date: Wed, 7 Dec 2022 12:24:48 -0800 Subject: [PATCH] feat: header overlap content when scrolling down (#161) * feat: header overlap content when scrolling down --- .../EditorContainer/__snapshots__/index.test.jsx.snap | 8 ++++++-- .../EditorFooter/__snapshots__/index.test.jsx.snap | 6 +++--- .../EditorContainer/components/EditorFooter/index.jsx | 2 +- src/editors/containers/EditorContainer/index.jsx | 2 +- src/editors/containers/TextEditor/pluginConfig.js | 1 + 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/editors/containers/EditorContainer/__snapshots__/index.test.jsx.snap b/src/editors/containers/EditorContainer/__snapshots__/index.test.jsx.snap index a913df483..abc5ee84b 100644 --- a/src/editors/containers/EditorContainer/__snapshots__/index.test.jsx.snap +++ b/src/editors/containers/EditorContainer/__snapshots__/index.test.jsx.snap @@ -2,7 +2,9 @@ exports[`EditorContainer component render snapshot: initialized. enable save and pass to header 1`] = `
- +
- +
@@ -53,7 +53,7 @@ exports[`EditorFooter render snapshot: save disabled. Show button spinner 1`] = } > @@ -104,7 +104,7 @@ exports[`EditorFooter render snapshot: save failed. Show error message 1`] = ` /> diff --git a/src/editors/containers/EditorContainer/components/EditorFooter/index.jsx b/src/editors/containers/EditorContainer/components/EditorFooter/index.jsx index cd2c7a8b4..4b2c78aab 100644 --- a/src/editors/containers/EditorContainer/components/EditorFooter/index.jsx +++ b/src/editors/containers/EditorContainer/components/EditorFooter/index.jsx @@ -28,7 +28,7 @@ export const EditorFooter = ({ )} - +