diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 91556c525..82cd6541e 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -836,7 +836,12 @@ body { } .ck.ck-mentions > .ck-list__item { - max-width: 600px; + max-width: 700px; +} + +.ck.ck-mentions > .ck-list__item .ck-button { + /* wrap text for very long note path title */ + white-space: normal !important; } ul.fancytree-container li { diff --git a/src/services/note_cache/entities/note.js b/src/services/note_cache/entities/note.js index 7c39dd4ff..a33236b3c 100644 --- a/src/services/note_cache/entities/note.js +++ b/src/services/note_cache/entities/note.js @@ -157,7 +157,7 @@ class Note { */ get flatText() { if (!this.flatTextCache) { - this.flatTextCache = this.noteId + ' ' + this.type + ' ' + this.mime + ' '; + this.flatTextCache = this.noteId + ' ' + this.type + ' ' + this.mime + ' ' + this.dateCreated.substr(0, 16) + ' '; for (const branch of this.parentBranches) { if (branch.prefix) {