mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
wrap note autocomplete for very long note path titles, closes #1221
This commit is contained in:
parent
ee4ce3ffd8
commit
bff5b015ea
@ -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 {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user