From acfc661c302f4050e4a29a77a9c8233a7235e2ca Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Tue, 12 Jan 2021 06:24:33 +0200 Subject: [PATCH] fix css toolbar --- editors/editoria/src/layout/EditoriaLayout.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/editors/editoria/src/layout/EditoriaLayout.js b/editors/editoria/src/layout/EditoriaLayout.js index d0c9312a1..1e7264062 100644 --- a/editors/editoria/src/layout/EditoriaLayout.js +++ b/editors/editoria/src/layout/EditoriaLayout.js @@ -125,7 +125,7 @@ const CommentsContainerNotes = styled.div` const CommentTrackToolsContainer = styled.div` display: flex; position: fixed; - top: 52px; + margin-top: 5px; right: 30px; z-index: 2; background: transparent; @@ -288,14 +288,6 @@ const EditoriaLayout = ({ editor }) => { return ( <ThemeProvider theme={cokoTheme}> <Wrapper style={fullScreenStyles}> - <CommentTrackToolsContainer> - <CommentTrackTools> - {commentsTracks + trackBlockNodes} COMMENTS AND SUGGESTIONS - <CommentTrackOptions> - <CommentTrackToolBar /> - </CommentTrackOptions> - </CommentTrackTools> - </CommentTrackToolsContainer> <TopMenu> <MainMenuToolBar /> </TopMenu> @@ -318,6 +310,15 @@ const EditoriaLayout = ({ editor }) => { <EditorContainer>{editor}</EditorContainer> <CommentsContainer> <WhiteArea /> + <CommentTrackToolsContainer> + <CommentTrackTools> + {commentsTracks + trackBlockNodes} COMMENTS AND + SUGGESTIONS + <CommentTrackOptions> + <CommentTrackToolBar /> + </CommentTrackOptions> + </CommentTrackTools> + </CommentTrackToolsContainer> <RightArea area="main" /> </CommentsContainer> </WaxSurfaceScroll> -- GitLab