From a6835c378fc511fa9ea53d5c5ccc7e4dcd561932 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Mon, 24 Apr 2017 12:46:23 +0300 Subject: [PATCH] comments position for notes editor --- app/components/SimpleEditor/notesEditor/NotesEditor.js | 2 +- app/components/SimpleEditor/notesEditor/notesEditor.scss | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/components/SimpleEditor/notesEditor/NotesEditor.js b/app/components/SimpleEditor/notesEditor/NotesEditor.js index 99c0e4f..bd9ac35 100644 --- a/app/components/SimpleEditor/notesEditor/NotesEditor.js +++ b/app/components/SimpleEditor/notesEditor/NotesEditor.js @@ -42,7 +42,7 @@ class NotesEditor extends ProseEditor { user: this.props.user }).addClass('sc-comments-pane') - const editorWithComments = $$(SplitPane, { sizeA: '100%', splitType: 'vertical' }) + const editorWithComments = $$(SplitPane, { sizeA: '80%', splitType: 'vertical' }) .append( editor, commentsPane diff --git a/app/components/SimpleEditor/notesEditor/notesEditor.scss b/app/components/SimpleEditor/notesEditor/notesEditor.scss index 08b7584..3572013 100644 --- a/app/components/SimpleEditor/notesEditor/notesEditor.scss +++ b/app/components/SimpleEditor/notesEditor/notesEditor.scss @@ -30,11 +30,10 @@ $background: #fff; } .sc-comment-pane-list { - border-left: 1px dashed $red; - margin-left: 8%; + margin-left: 5%; li { - max-width: 60%; - min-width: 60%; + max-width: 50%; + min-width: 50%; } } } -- GitLab