diff options
author | bobzel <zzzman@gmail.com> | 2022-09-01 15:51:53 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-09-01 15:51:53 -0400 |
commit | ab488cbd8560482c104a0ff1cde911464ef33a10 (patch) | |
tree | 40e880e58124c13fdb19d7427542f1cf77cd364e /src | |
parent | 5ad8289e8ca3b6ff8304ac4fa3c2d3adaa9abf6d (diff) |
changed default note templates to be fitWidth/autoHeight
Diffstat (limited to 'src')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index ca3d65ee5..25852c6ce 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -143,7 +143,7 @@ export class CurrentUserUtils { { noteType: "Idea", backgroundColor: "pink", icon: "lightbulb" }, { noteType: "Topic", backgroundColor: "lightblue", icon: "book-open" }]; const reqdNoteList = reqdTempOpts.map(opts => { - const reqdOpts = {...opts, title: "text", width:200, system: true}; + const reqdOpts = {...opts, title: "text", width:200, autoHeight: true, fitWidth: true, system: true}; const noteType = tempNotes ? DocListCast(tempNotes.data).find(doc => doc.noteType === opts.noteType): undefined; return DocUtils.AssignOpts(noteType, reqdOpts) ?? MakeTemplate(Docs.Create.TextDocument("",reqdOpts), true, opts.noteType??"Note"); }); |