Remove style making double editing weird

fixes #29
This commit is contained in:
Max G 2020-03-14 18:52:00 +00:00
parent 196224d0b8
commit 4cc6014581
2 changed files with 6 additions and 2 deletions

View File

@ -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%;

View File

@ -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