From 749d2cea94d3818437338e8f3c6e3b78f2227b6b Mon Sep 17 00:00:00 2001 From: Max G Date: Sat, 14 Mar 2020 18:52:00 +0000 Subject: [PATCH] Remove style making double editing weird fixes #29 --- client/src/components/NoteInputPanel.vue | 4 ++-- server/models/Note.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/components/NoteInputPanel.vue b/client/src/components/NoteInputPanel.vue index 142ab51..b7e2bd0 100644 --- a/client/src/components/NoteInputPanel.vue +++ b/client/src/components/NoteInputPanel.vue @@ -1420,10 +1420,10 @@ left: 50%; right: 0%; } - .master-note-edit.position-1.full-focus { +/* .master-note-edit.position-1.full-focus { left: 20%; right: 20%; - } + }*/ .master-note-edit.position-2 { left: 0%; right: 50%; diff --git a/server/models/Note.js b/server/models/Note.js index 536f952..7c5839b 100644 --- a/server/models/Note.js +++ b/server/models/Note.js @@ -202,6 +202,10 @@ Note.update = (io, userId, noteId, noteText, noteTitle, color, pinned, archived, //Encrypt note text if proper data is setup if(password.length > 3 && salt.length > 1000){ noteText = cs.encrypt(password, salt, noteText) + + // + // @TODO - Do note save data if encryption goes wrong, do some validation + // } //Update Note text