mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	wrap note autocomplete for very long note path titles, closes #1221
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user